axmol/external/lz4/CMakeLists.txt

21 lines
367 B
CMake

set(lib_name lz4)
set(target_name ${lib_name})
project(${lib_name})
add_library(${target_name} STATIC
xxhash.c
lz4.c
)
target_include_directories(${target_name} PUBLIC .)
set_target_properties(${target_name}
PROPERTIES
ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib"
LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib"
FOLDER "External"
)