mirror of
https://github.com/pineappleEA/pineapple-src.git
synced 2024-12-04 23:08:23 -05: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 ()
|