https://github.com/assimp/assimp/issues/728: XCode fix.
authorKim Kulling <kim.kulling@googlemail.com>
Sat, 26 Dec 2015 23:07:37 +0000 (00:07 +0100)
committerKim Kulling <kim.kulling@googlemail.com>
Sat, 26 Dec 2015 23:07:37 +0000 (00:07 +0100)
cmake-modules/AddGTest.cmake

index 1ffd36a..1a4ec8f 100644 (file)
@@ -10,7 +10,10 @@ endif()
 if (MSVC)
   set(RELEASE_LIB_DIR ReleaseLibs)
   set(DEBUG_LIB_DIR DebugLibs)
-else()
+elseif(XCODE_VERSION)
+  set(RELEASE_LIB_DIR Release)
+  set(DEBUG_LIB_DIR Debug)
+else()else()
   set(RELEASE_LIB_DIR "")
   set(DEBUG_LIB_DIR "")
 endif()