Commit 9ce7a663 authored by Brad King's avatar Brad King
Browse files

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.
parent d7725a17
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment