]> git.mxchange.org Git - simgear.git/commitdiff
Cmake: MSVC_3RDPARTY_DIR is a path, not an option
authorFrederic Bouvier <fredfgfs01@free.fr>
Sun, 2 Jan 2011 17:01:57 +0000 (18:01 +0100)
committerFrederic Bouvier <fredfgfs01@free.fr>
Sun, 2 Jan 2011 17:01:57 +0000 (18:01 +0100)
CMakeLists.txt

index 82008959dced848a68ed9160061d492f189684a0..97bd59e85ba067a2b45d71833da5e3161af2f50a 100644 (file)
@@ -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(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}")
 
 if (MSVC_3RDPARTY_DIR)
   message(STATUS "3rdparty files located in ${MSVC_3RDPARTY_DIR}")