Source
--- CMake/CMakeLists.txt.orig 2011-11-09 20:43:48.000000000 +0100
+++ CMake/CMakeLists.txt 2011-11-10 17:15:50.000000000 +0100
# directory, but can also be used for custom projects.
#############################################################
-if(WIN32 OR APPLE)
+if(WIN32)
set(OGRE_CMAKE_DIR "CMake")
+elseif(APPLE)
+ if(NOT MACPORTS)
+ set(OGRE_CMAKE_DIR "CMake")
+ else()
+ set(OGRE_CMAKE_DIR ${MACPORTS_CMAKE_MODULE_PATH})
+ endif()
else()
set(OGRE_CMAKE_DIR "${OGRE_LIB_DIRECTORY}/OGRE/cmake")
endif()