From 724ec0a488cb42cc572dfc76ef46265081de79f7 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Sat, 27 Sep 2014 11:27:45 +0300 Subject: [PATCH] CMakeLists.txt: Don't cache CMAKE_MODULE_PATH --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5dc7a49..863f682 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -31,7 +31,7 @@ if("${URHO3D_HOME}" STREQUAL "") message(FATAL_ERROR "You need to set the URHO3D_HOME environment variable.") endif() -set(CMAKE_MODULE_PATH ${URHO3D_HOME}/Source/CMake/Modules CACHE PATH "Path to Urho3D-specific CMake modules") +set(CMAKE_MODULE_PATH ${URHO3D_HOME}/Source/CMake/Modules PATH "Path to Urho3D-specific CMake modules") include(Urho3D-CMake-common) find_package(Urho3D REQUIRED) include_directories(${URHO3D_INCLUDE_DIRS})