2025-07-17 18:12:16 +01:00
|
|
|
file(GLOB sources *.c include/ropkg/*.h)
|
|
|
|
|
|
|
|
|
|
add_library(libropkg SHARED ${sources})
|
|
|
|
|
|
|
|
|
|
set_target_properties(libropkg PROPERTIES
|
|
|
|
|
OUTPUT_NAME ropkg)
|
|
|
|
|
target_link_libraries(libropkg
|
2025-07-21 22:46:20 +01:00
|
|
|
Bluelib::Io
|
2025-07-17 18:12:16 +01:00
|
|
|
${ZSTD_LIBRARY})
|
|
|
|
|
target_include_directories(libropkg PUBLIC
|
|
|
|
|
include/
|
|
|
|
|
${ZSTD_INCLUDE_DIR})
|
|
|
|
|
target_compile_definitions(libropkg PRIVATE
|
|
|
|
|
LIBROPKG_EXPORT=1
|
|
|
|
|
LIBROPKG_STATIC=0)
|