file(GLOB sources *.c include/ropkg/*.h) add_library(libropkg SHARED ${sources}) set_target_properties(libropkg PROPERTIES OUTPUT_NAME ropkg) target_link_libraries(libropkg ${ZSTD_LIBRARY}) target_include_directories(libropkg PUBLIC include/ ${ZSTD_INCLUDE_DIR}) target_compile_definitions(libropkg PRIVATE LIBROPKG_EXPORT=1 LIBROPKG_STATIC=0)