From 8d15cacf9249a37238b344d8ffdce7fc3d6d53a0 Mon Sep 17 00:00:00 2001 From: Frederic Bouvier Date: Sun, 2 Jan 2011 18:01:57 +0100 Subject: [PATCH] Cmake: MSVC_3RDPARTY_DIR is a path, not an option --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 82008959..97bd59e8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -17,7 +17,7 @@ set(CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/CMakeModules;${CMAKE_MODULE_PATH}") option(SIMGEAR_SHARED "Set to ON to build SimGear as a shared library/framework" OFF) option(SIMGEAR_HEADLESS "Set to ON to build SimGear with GUI/graphics support" OFF) option(JPEG_FACTORY "Enable JPEG-factory support" OFF) -option(MSVC_3RDPARTY_DIR "Location where the third-party dependencies are extracted" NOT_FOUND) +set(MSVC_3RDPARTY_DIR NOT_FOUND CACHE PATH "Location where the third-party dependencies are extracted") if (MSVC_3RDPARTY_DIR) message(STATUS "3rdparty files located in ${MSVC_3RDPARTY_DIR}") -- 2.39.5