From 960b614dca63384fa0ee28900b1668372483db8c Mon Sep 17 00:00:00 2001 From: Heiko Strathmann Date: Wed, 24 Feb 2016 13:20:39 +0000 Subject: [PATCH] rename cmake flag to build_cookbook --- CMakeLists.txt | 4 ++-- doc/CMakeLists.txt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c984fafc608..bdf967edfe1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -672,10 +672,10 @@ IF(BUILD_META_EXAMPLES) add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/examples/meta) ENDIF() -OPTION(ENABLE_COOKBOOK "Build Shogun API cookbook" ON) +OPTION(BUILD_COOKBOOK "Build Shogun API cookbook" ON) IF(NOT BUILD_META_EXAMPLES) message("-- Meta examples are required for building cookbook. Disabling.") - SET(ENABLE_COOKBOOK 0) + SET(BUILD_COOKBOOK 0) ENDIF() find_package(Sphinx) diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt index b76701958ff..e869239c2a7 100644 --- a/doc/CMakeLists.txt +++ b/doc/CMakeLists.txt @@ -1,4 +1,4 @@ -IF(ENABLE_COOKBOOK) +IF(BUILD_COOKBOOK) add_subdirectory(cookbook) LIST(APPEND DOC_DEPENDENCIES cookbook) ENDIF()