diff options
author | Josh Blum <josh@joshknows.com> | 2010-12-27 13:56:09 -0800 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-12-27 13:56:09 -0800 |
commit | 3017907fd83d32e89e91f43a5d2b94d4155beddd (patch) | |
tree | fa1aa7154145481db51a4074e7319aced0ac4eb1 /host/docs | |
parent | 2dfec0af4a159b4f886180a0f7448ce37a75aac1 (diff) | |
download | uhd-3017907fd83d32e89e91f43a5d2b94d4155beddd.tar.gz uhd-3017907fd83d32e89e91f43a5d2b94d4155beddd.tar.bz2 uhd-3017907fd83d32e89e91f43a5d2b94d4155beddd.zip |
cmake: changes to finding python interp, some other tweaks
Diffstat (limited to 'host/docs')
-rw-r--r-- | host/docs/CMakeLists.txt | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/host/docs/CMakeLists.txt b/host/docs/CMakeLists.txt index d6a7801bf..54e0d589c 100644 --- a/host/docs/CMakeLists.txt +++ b/host/docs/CMakeLists.txt @@ -38,17 +38,15 @@ SET(manual_sources MESSAGE(STATUS "") MESSAGE(STATUS "Checking for rst2html (docutils)") FIND_PROGRAM(RST2HTML rst2html) -IF(${RST2HTML} STREQUAL "RST2HTML-NOTFOUND") - MESSAGE(STATUS "Checking for rst2html (docutils) - not found") - MESSAGE(STATUS " Disabled generation of HTML manual.") - SET(HAVE_RST2HTML FALSE) -ELSE(${RST2HTML} STREQUAL "RST2HTML-NOTFOUND") +IF(RST2HTML) MESSAGE(STATUS "Checking for rst2html (docutils) - found") MESSAGE(STATUS " Enabled generation of HTML manual.") - SET(HAVE_RST2HTML TRUE) -ENDIF(${RST2HTML} STREQUAL "RST2HTML-NOTFOUND") +ELSE(RST2HTML) + MESSAGE(STATUS "Checking for rst2html (docutils) - not found") + MESSAGE(STATUS " Disabled generation of HTML manual.") +ENDIF(RST2HTML) -LIBUHD_REGISTER_COMPONENT("Manual" ENABLE_MANUAL ON "HAVE_RST2HTML" OFF) +LIBUHD_REGISTER_COMPONENT("Manual" ENABLE_MANUAL ON "RST2HTML" OFF) IF(ENABLE_MANUAL) #setup rst2html options |