diff options
author | Brad King <brad.king@kitware.com> | 2015-07-07 09:38:48 -0400 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-07-07 09:38:48 -0400 |
commit | 9ce7a663d6d50c6f2d7a3fbc76ed10c5af6a91a5 (patch) | |
tree | d2336f0cd30c152046f669ae46aeb864478e4b51 /Utilities/Sphinx | |
parent | d7725a178bd498f7b50634490b6846ab9bb245f2 (diff) | |
download | cmake-9ce7a663d6d50c6f2d7a3fbc76ed10c5af6a91a5.tar.gz |
Utilities/Sphinx: Add CMake_OPTIONAL_COMPONENT macro
When building this directory independently define the macro since we
will not get the definition from the top level of the source tree.
Diffstat (limited to 'Utilities/Sphinx')
-rw-r--r-- | Utilities/Sphinx/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Utilities/Sphinx/CMakeLists.txt b/Utilities/Sphinx/CMakeLists.txt index 77a12558ab..1baca35e4e 100644 --- a/Utilities/Sphinx/CMakeLists.txt +++ b/Utilities/Sphinx/CMakeLists.txt @@ -19,6 +19,9 @@ if(NOT CMake_SOURCE_DIR) include(${CMake_SOURCE_DIR}/Source/CMakeInstallDestinations.cmake) unset(CMAKE_DATA_DIR) unset(CMAKE_DATA_DIR CACHE) + macro(CMake_OPTIONAL_COMPONENT) + set(COMPONENT "") + endmacro() endif() project(CMakeHelp NONE) |