[dev-games/StormLib] initial import for ghost++, needs another bump, but im lazy now.

This commit is contained in:
2012-08-08 09:25:07 +02:00
parent 1bf6074d74
commit d5d51e1671
3 changed files with 53 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
--- 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)