[fastlz] Remove SHARED keyword to also allow building STATIC

This commit is contained in:
Alexander Karatarakis 2016-10-20 13:48:13 -07:00
Родитель 2153670c51
Коммит 412a44c8f1
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -1,8 +1,8 @@
CMAKE_MINIMUM_REQUIRED ( VERSION 2.6)
add_library (fastlz SHARED fastlz.c )
add_library (fastlz fastlz.c)
install (TARGETS fastlz DESTINATION
install (TARGETS fastlz DESTINATION
RUNTIME DESTINATION ${CMAKE_INSTALL_PREFIX}/bin
LIBRARY DESTINATION ${CMAKE_INSTALL_PREFIX}/lib
ARCHIVE DESTINATION ${CMAKE_INSTALL_PREFIX}/lib