Files
MINGW-packages/mingw-w64-ogitor-git/004-fix-plugin-name-for-ogre.patch
مهدي شينون (Mehdi Chinoune) 4faba3f447 ogitor: update
2022-09-16 11:36:42 +01:00

14 lines
356 B
Diff

--- a/OgreOfsPlugin/CMakeLists.txt
+++ b/OgreOfsPlugin/CMakeLists.txt
@@ -17,6 +17,10 @@
set_target_properties(OgreOfsPlugin PROPERTIES COMPILE_DEFINITIONS "PLUGIN_EXPORT")
+if(MINGW)
+ set_target_properties(OgreOfsPlugin PROPERTIES PREFIX "")
+endif()
+
target_link_libraries(OgreOfsPlugin ${OGRE_LIBRARIES} OFS)
install(TARGETS OgreOfsPlugin