Skip to content
Snippets Groups Projects
Commit 386b4a6f authored by Sergey Kosukhin's avatar Sergey Kosukhin
Browse files

cmake: rename option BUILD_DOCUMENTATION

parent 9b90c301
No related branches found
No related tags found
1 merge request!50Refactor CMake scripts
......@@ -12,10 +12,10 @@ project(
)
option(BUILD_TESTING "Build tests" ON)
option(BUILD_DOCUMENTATION "Build documentation" OFF)
option(MTIME_ENABLE_FORTRAN_HL "Enable the high-level Fortran interface" ON)
option(MTIME_BUILD_EXAMPLES "Build examples" ON)
option(MTIME_BUILD_DOCS "Build documentation" OFF)
list(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake")
......@@ -39,7 +39,7 @@ if(MTIME_BUILD_EXAMPLES)
add_subdirectory(examples)
endif()
if(BUILD_DOCUMENTATION)
if(MTIME_BUILD_DOCS)
add_subdirectory(doc)
endif()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment