Skip to content

Commit

Permalink
rename cmake flag to build_cookbook
Browse files Browse the repository at this point in the history
  • Loading branch information
karlnapf authored and vigsterkr committed Mar 10, 2016
1 parent 6a10c5e commit 960b614
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion doc/CMakeLists.txt
@@ -1,4 +1,4 @@
IF(ENABLE_COOKBOOK)
IF(BUILD_COOKBOOK)
add_subdirectory(cookbook)
LIST(APPEND DOC_DEPENDENCIES cookbook)
ENDIF()
Expand Down

0 comments on commit 960b614

Please sign in to comment.