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

16 lines
392 B
CMake
Raw Normal View History

2022-07-23 03:01:36 +02: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 ()