37 lines
1.9 KiB
Diff
37 lines
1.9 KiB
Diff
|
Index: mygui-MyGUI3.4.0/Common/CMakeLists.txt
|
||
|
===================================================================
|
||
|
--- mygui-MyGUI3.4.0.orig/Common/CMakeLists.txt
|
||
|
+++ mygui-MyGUI3.4.0/Common/CMakeLists.txt
|
||
|
@@ -121,6 +121,7 @@ elseif(MYGUI_SAMPLES_INPUT EQUAL 4)
|
||
|
endif()
|
||
|
|
||
|
add_library(${PROJECTNAME} ${HEADER_FILES} ${SOURCE_FILES})
|
||
|
+set_target_properties(${PROJECTNAME} PROPERTIES VERSION ${MYGUI_VERSION} SOVERSION ${MYGUI_VERSION_MAJOR})
|
||
|
|
||
|
if(MYGUI_RENDERSYSTEM EQUAL 1)
|
||
|
add_dependencies(${PROJECTNAME} MyGUI.DummyPlatform)
|
||
|
Index: mygui-MyGUI3.4.0/CMake/Utils/MyGUIConfigTargets.cmake
|
||
|
===================================================================
|
||
|
--- mygui-MyGUI3.4.0.orig/CMake/Utils/MyGUIConfigTargets.cmake
|
||
|
+++ mygui-MyGUI3.4.0/CMake/Utils/MyGUIConfigTargets.cmake
|
||
|
@@ -316,6 +316,7 @@ function(mygui_dll PROJECTNAME SOLUTIONF
|
||
|
add_definitions("-D_USRDLL -DMYGUI_BUILD_DLL")
|
||
|
add_library(${PROJECTNAME} ${MYGUI_LIB_TYPE} ${HEADER_FILES} ${SOURCE_FILES})
|
||
|
set_target_properties(${PROJECTNAME} PROPERTIES FOLDER ${SOLUTIONFOLDER})
|
||
|
+ set_target_properties(${PROJECTNAME} PROPERTIES VERSION ${MYGUI_VERSION} SOVERSION "${MYGUI_VERSION_MAJOR}.${MYGUI_VERSION_MINOR}.${MYGUI_VERSION_PATCH}")
|
||
|
add_dependencies(${PROJECTNAME} MyGUIEngine)
|
||
|
target_link_libraries(${PROJECTNAME} MyGUIEngine)
|
||
|
|
||
|
Index: mygui-MyGUI3.4.0/Platforms/Ogre/OgrePlatform/CMakeLists.txt
|
||
|
===================================================================
|
||
|
--- mygui-MyGUI3.4.0.orig/Platforms/Ogre/OgrePlatform/CMakeLists.txt
|
||
|
+++ mygui-MyGUI3.4.0/Platforms/Ogre/OgrePlatform/CMakeLists.txt
|
||
|
@@ -9,6 +9,7 @@ include_directories(
|
||
|
include(${PROJECTNAME}.list)
|
||
|
|
||
|
add_library(${PROJECTNAME} ${HEADER_FILES} ${SOURCE_FILES})
|
||
|
+set_target_properties(${PROJECTNAME} PROPERTIES VERSION ${MYGUI_VERSION} SOVERSION "${MYGUI_VERSION_MAJOR}.${MYGUI_VERSION_MINOR}.${MYGUI_VERSION_PATCH}")
|
||
|
|
||
|
add_dependencies(${PROJECTNAME} MyGUIEngine)
|
||
|
|