summaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorMichael Gottesman <mgottesman@apple.com>2013-08-28 21:55:26 +0000
committerMichael Gottesman <mgottesman@apple.com>2013-08-28 21:55:26 +0000
commit4cff093bd6a1a474aff638f6ad32d56914c7488e (patch)
tree9599b625d8e7010fbce6f775499b05032627e44f /cmake
parent98b5be8062d33bde9a963c00326ce2483db18f9f (diff)
downloadexternal_llvm-4cff093bd6a1a474aff638f6ad32d56914c7488e.zip
external_llvm-4cff093bd6a1a474aff638f6ad32d56914c7488e.tar.gz
external_llvm-4cff093bd6a1a474aff638f6ad32d56914c7488e.tar.bz2
[doxygen] Use correct variable names for external variable configuration and make EXTRA_SEARCH_MAPPINGS a "dumb" variable.
I do not think the massaging that I was doing for EXTRA_SEARCH_MAPPINGS was truly necessary. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189522 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake')
-rwxr-xr-xcmake/config-ix.cmake8
1 files changed, 6 insertions, 2 deletions
diff --git a/cmake/config-ix.cmake b/cmake/config-ix.cmake
index 1f82557..e8d1863 100755
--- a/cmake/config-ix.cmake
+++ b/cmake/config-ix.cmake
@@ -473,8 +473,12 @@ if (LLVM_ENABLE_DOXYGEN)
if (LLVM_BUILD_DOCS)
add_custom_target(doxygen ALL)
endif()
- option(DOXYGEN_EXTERNAL_SEARCH "Enable doxygen external search." OFF)
- set(DOXYGEN_SEARCH_MAPPINGS "" CACHE STRING "Doxygen Search Mappings")
+
+ option(LLVM_DOXYGEN_EXTERNAL_SEARCH "Enable doxygen external search." OFF)
+ if (LLVM_DOXYGEN_EXTERNAL_SEARCH)
+ set(LLVM_DOXYGEN_SEARCHENGINE_URL "" CACHE STRING "URL to use for external searhc.")
+ set(LLVM_DOXYGEN_SEARCH_MAPPINGS "" CACHE STRING "Doxygen Search Mappings")
+ endif()
endif()
else()
message(STATUS "Doxygen disabled.")