mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-01 04:02:03 +08:00
16 lines
392 B
CMake
16 lines
392 B
CMake
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 () |