Ticket #32302: patch-CMake_CMakeLists.txt.diff
File patch-CMake_CMakeLists.txt.diff, 546 bytes (added by marin.saric@…, 13 years ago) |
---|
-
CMake/CMakeLists.txt
old new 13 13 # directory, but can also be used for custom projects. 14 14 ############################################################# 15 15 16 if(WIN32 OR APPLE)16 if(WIN32) 17 17 set(OGRE_CMAKE_DIR "CMake") 18 elseif(APPLE) 19 if(NOT MACPORTS) 20 set(OGRE_CMAKE_DIR "CMake") 21 else() 22 set(OGRE_CMAKE_DIR ${MACPORTS_CMAKE_MODULE_PATH}) 23 endif() 18 24 else() 19 25 set(OGRE_CMAKE_DIR "${OGRE_LIB_DIRECTORY}/OGRE/cmake") 20 26 endif()