[dev-games/StormLib] initial import for ghost++, needs another bump, but im lazy now.
This commit is contained in:
19
dev-games/StormLib/files/StormLib-multilib.patch
Normal file
19
dev-games/StormLib/files/StormLib-multilib.patch
Normal 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)
|
||||
|
||||
Reference in New Issue
Block a user