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 ()
|