gentoo/dev-games/StormLib/files/StormLib-fix-build-system.patch

23 lines
789 B
Diff

--- a/CMakeLists.txt 2017-02-01 16:58:20.420715822 +0100
+++ b/CMakeLists.txt 2017-02-01 17:00:00.298138266 +0100
@@ -302,7 +302,7 @@
endif()
if(UNIX)
SET(VERSION_MAJOR "9")
- SET(VERSION_MINOR "20")
+ SET(VERSION_MINOR "21")
SET(VERSION_PATCH "0")
SET(VERSION_STRING "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}")
set_target_properties(${LIBRARY_NAME} PROPERTIES VERSION "${VERSION_STRING}")
@@ -317,8 +317,8 @@
install(TARGETS ${LIBRARY_NAME}
RUNTIME DESTINATION bin
- LIBRARY DESTINATION lib
- ARCHIVE DESTINATION lib
+ LIBRARY DESTINATION lib${LIB_SUFFIX}
+ ARCHIVE DESTINATION lib${LIB_SUFFIX}
FRAMEWORK DESTINATION /Library/Frameworks
PUBLIC_HEADER DESTINATION include
INCLUDES DESTINATION include)