ogre/ogre-1.9.20140831hg-missing-latomic.patch

14 lines
555 B
Diff
Raw Normal View History

--- ogre-1.9.20140831hg/OgreMain/CMakeLists.txt.orig 2014-08-31 14:31:35.232713501 +0200
+++ ogre-1.9.20140831hg/OgreMain/CMakeLists.txt 2014-08-31 14:32:18.571705281 +0200
@@ -290,10 +290,6 @@
set_target_properties(OgreMain PROPERTIES VERSION ${OGRE_SOVERSION} SOVERSION ${OGRE_SOVERSION})
endif()
-if(OGRE_GCC_VERSION VERSION_EQUAL 4.8 OR OGRE_GCC_VERSION VERSION_GREATER 4.8)
- list(APPEND LIBRARIES "-latomic")
-endif()
-
if (APPLE)
if (OGRE_BUILD_PLATFORM_APPLE_IOS)
set_target_properties(OgreMain PROPERTIES INSTALL_NAME_DIR "OGRE")