20 lines
1.0 KiB
Diff
20 lines
1.0 KiB
Diff
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -281,7 +281,7 @@
|
|
add_library(storm_static STATIC ${SRC_FILES} ${SRC_ADDITIONAL_FILES})
|
|
target_link_libraries(storm_static ${LINK_LIBS})
|
|
set_target_properties(storm_static PROPERTIES OUTPUT_NAME storm)
|
|
- install(TARGETS storm_static RUNTIME DESTINATION bin LIBRARY DESTINATION lib ARCHIVE DESTINATION lib FRAMEWORK DESTINATION /Library/Frameworks)
|
|
+ install(TARGETS storm_static RUNTIME DESTINATION bin LIBRARY DESTINATION lib${LIB_SUFFIX} ARCHIVE DESTINATION lib${LIB_SUFFIX} FRAMEWORK DESTINATION /Library/Frameworks)
|
|
endif()
|
|
|
|
if(APPLE)
|
|
@@ -300,6 +300,6 @@
|
|
set_target_properties(storm PROPERTIES OUTPUT_NAME StormLib)
|
|
endif()
|
|
|
|
-install(TARGETS storm RUNTIME DESTINATION bin LIBRARY DESTINATION lib ARCHIVE DESTINATION lib FRAMEWORK DESTINATION /Library/Frameworks)
|
|
+install(TARGETS storm RUNTIME DESTINATION bin LIBRARY DESTINATION lib${LIB_SUFFIX} ARCHIVE DESTINATION lib${LIB_SUFFIX} FRAMEWORK DESTINATION /Library/Frameworks)
|
|
install(FILES src/StormLib.h src/StormPort.h DESTINATION include)
|
|
|