diff options
author | Brad King <brad.king@kitware.com> | 2015-07-07 13:38:48 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-07-07 13:38:48 (GMT) |
commit | 9ce7a663d6d50c6f2d7a3fbc76ed10c5af6a91a5 (patch) | |
tree | d2336f0cd30c152046f669ae46aeb864478e4b51 /Utilities | |
parent | d7725a178bd498f7b50634490b6846ab9bb245f2 (diff) | |
download | CMake-9ce7a663d6d50c6f2d7a3fbc76ed10c5af6a91a5.zip CMake-9ce7a663d6d50c6f2d7a3fbc76ed10c5af6a91a5.tar.gz CMake-9ce7a663d6d50c6f2d7a3fbc76ed10c5af6a91a5.tar.bz2 |
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')
-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 77a1255..1baca35 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) |