🎉 Added OGRE 2.3
This commit is contained in:
11
ogre/2.3/patches/2.3.1/FindPkgMacros.cmake.patch
Normal file
11
ogre/2.3/patches/2.3.1/FindPkgMacros.cmake.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
--- CMake/Utils/FindPkgMacros.cmake
|
||||
+++ CMake/Utils/FindPkgMacros.cmake
|
||||
@@ -82,7 +82,7 @@
|
||||
if (${PREFIX}_FWK)
|
||||
set(${PREFIX} ${${PREFIX}_FWK})
|
||||
elseif (${PREFIX}_REL AND ${PREFIX}_DBG)
|
||||
- set(${PREFIX} optimized ${${PREFIX}_REL} debug ${${PREFIX}_DBG})
|
||||
+ set(${PREFIX} "$<$<CONFIG:Debug>:${${PREFIX}_DBG}>$<$<NOT:$<CONFIG:Debug>>:${${PREFIX}_REL}>")
|
||||
elseif (${PREFIX}_REL)
|
||||
set(${PREFIX} ${${PREFIX}_REL})
|
||||
elseif (${PREFIX}_DBG)
|
11
ogre/2.3/patches/2.3.1/RapidJSON-fix.patch
Normal file
11
ogre/2.3/patches/2.3.1/RapidJSON-fix.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
--- OgreMain/CMakeLists.txt
|
||||
+++ OgreMain/CMakeLists.txt
|
||||
@@ -475,7 +475,7 @@
|
||||
set_target_properties(OgreMain PROPERTIES OUTPUT_NAME Ogre)
|
||||
endif ()
|
||||
endif ()
|
||||
-target_link_libraries(OgreMain ${LIBRARIES})
|
||||
+target_link_libraries(OgreMain ${LIBRARIES} RapidJSON::RapidJSON freeimage::FreeImage)
|
||||
if (MINGW)
|
||||
# may need winsock htons functions for FreeImage
|
||||
target_link_libraries(OgreMain ws2_32)
|
Reference in New Issue
Block a user