my private gentoo overlay
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
769 B

--- CMakeLists.txt.old 2012-01-02 09:32:42.000000000 +0100
+++ CMakeLists.txt 2012-05-05 00:42:28.000000000 +0200
@@ -237,6 +237,8 @@
test/Test.cpp
)
+set(LIB_SUFFIX "" CACHE STRING "Define suffix of directory name (32/64)")
+
add_definitions(-D_7ZIP_ST -DBZ_STRICT_ANSI)
if(WIN32)
@@ -290,6 +292,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)