Pārlūkot izejas kodu

Merge pull request #645 from l337r007/fix-osx-cmake

CMake: Don't try to set property on target before it is defined.
Alexander Gessler 10 gadi atpakaļ
vecāks
revīzija
305e27d1a5
1 mainītis faili ar 0 papildinājumiem un 5 dzēšanām
  1. 0 5
      code/CMakeLists.txt

+ 0 - 5
code/CMakeLists.txt

@@ -656,11 +656,6 @@ if ( MSVC )
   ADD_DEFINITIONS( -D_CRT_SECURE_NO_WARNINGS )
   ADD_DEFINITIONS( -D_CRT_SECURE_NO_WARNINGS )
 endif ( MSVC )
 endif ( MSVC )
 
 
-if (APPLE)
-  SET_TARGET_PROPERTIES( assimp PROPERTIES
-    INSTALL_NAME_DIR "${CMAKE_INSTALL_PREFIX}/${LIB_INSTALL_DIR}"
-  )
-endif()
 if (UNZIP_FOUND)
 if (UNZIP_FOUND)
   SET (unzip_compile_SRCS "")
   SET (unzip_compile_SRCS "")
 else (UNZIP_FOUND)
 else (UNZIP_FOUND)