From: Frederic Bouvier Date: Sun, 2 Jan 2011 17:01:57 +0000 (+0100) Subject: Cmake: MSVC_3RDPARTY_DIR is a path, not an option X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=8d15cacf9249a37238b344d8ffdce7fc3d6d53a0;p=simgear.git Cmake: MSVC_3RDPARTY_DIR is a path, not an option --- 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}")