From 7ef6688869b3f69d28839340ffff3ee0d92b5727 Mon Sep 17 00:00:00 2001 From: Bill Somerville Date: Wed, 29 Oct 2014 13:25:34 +0000 Subject: [PATCH] WSJT-X User Guide location variable In order to support the WSJT-X super build in LOCAL mode the location of the User Guide needs to be specified. A CMake cache variable WSJT_MANUAL_DIRECTORY has been added to allow the URI of the User Guide directory to be specified at configure time. The default value remains as the project web site. Merged from branch wsjtx-1.4. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4566 ab8295b8-cf94-4d9e-aec4-7959e3be5d79 --- CMakeLists.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4ec71f17c..7669cf4bf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -519,9 +519,10 @@ FortranCInterface_HEADER (FC.h MACRO_NAMESPACE "FC_" SYMBOL_NAMESPACE "FC_" # # fetch latest HTML manual # +set (WSJT_MANUAL_DIRECTORY "${PROJECT_MANUAL_DIRECTORY_URL}" + CACHE STRING "Can be overridden to a local URI") add_custom_target (user_manual ALL - # OUTPUT contrib/${PROJECT_MANUAL} - ${CMAKE_COMMAND} -D URL=${PROJECT_MANUAL_DIRECTORY_URL} -D NAME=${PROJECT_MANUAL} -P ${CMAKE_SOURCE_DIR}/CMake/download_html_manual.cmake + ${CMAKE_COMMAND} -D URL=${WSJT_MANUAL_DIRECTORY} -D NAME=${PROJECT_MANUAL} -P ${CMAKE_SOURCE_DIR}/CMake/download_html_manual.cmake COMMENT "Downloading ${PROJECT_NAME} HTML manual" VERBATIM )