--- CMake/Dependencies.cmake +++ CMake/Dependencies.cmake @@ -13,7 +13,7 @@ # OGRE_DEPENDENCIES_DIR can be used to specify a single base # folder where the required dependencies may be found. -set(OGRE_DEPENDENCIES_DIR "" CACHE PATH "Path to prebuilt OGRE dependencies") +set(OGRE_DEPENDENCIES_DIR ${CMAKE_PREFIX_PATH}) option(OGRE_BUILD_DEPENDENCIES "automatically build Ogre Dependencies (freetype, zzip)" TRUE) include(FindPkgMacros)