vcpkg/ports/fastlz/CMakeLists.txt
Adam Martin f2f018271f [fastlz] Added fastlz library
Also did minor formating to the bullet3 portfile while using it for comparisson.

The version was uncertain so I just used 1.0.
2016-10-20 15:25:10 -05:00

16 lines
401 B
CMake

CMAKE_MINIMUM_REQUIRED ( VERSION 2.6)
add_library (fastlz SHARED 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 ()