pineapple-src/externals/vcpkg/ports/fastlz/CMakeLists.txt

16 lines
392 B
CMake
Raw Normal View History

2022-07-22 21:01:36 -04:00
CMAKE_MINIMUM_REQUIRED ( VERSION 2.6)
add_library (fastlz fastlz.c)
install (TARGETS fastlz DESTINATION
RUNTIME DESTINATION ${CMAKE_INSTALL_PREFIX}/bin
LIBRARY DESTINATION ${CMAKE_INSTALL_PREFIX}/lib
ARCHIVE DESTINATION ${CMAKE_INSTALL_PREFIX}/lib
)
IF (NOT DEFINED SKIP_INSTALL_HEADERS)
INSTALL(
FILES
fastlz.h
DESTINATION include
)
ENDIF ()