Commits

David Rogers committed 12271a6

iOS: Explicitly specify the release lib paths so that libraries are always installed to the correct places. This fixes the problem of duplicate, single architecture libraries in SDK builds.

Comments (0)

Files changed (1)

CMake/Utils/OgreConfigTargets.cmake

   set(OGRE_LIB_RELWDBG_PATH "")
   set(OGRE_LIB_MINSIZE_PATH "")
   set(OGRE_LIB_DEBUG_PATH "")
+  if(APPLE AND OGRE_BUILD_PLATFORM_IPHONE)
+    set(OGRE_RELEASE_PATH "/release")
+    set(OGRE_LIB_RELEASE_PATH "/release")
+  endif(APPLE AND OGRE_BUILD_PLATFORM_IPHONE)
   if (APPLE)
     set(OGRE_PLUGIN_PATH "/")
   else()