ror-conan-recipes/ogre/2.3/patches/2.3.1/RapidJSON-fix.patch
2022-11-09 09:56:45 +01:00

12 lines
403 B
Diff

--- 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)