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

cmake: rename option BUILD_EXAMPLES

parent c283e560
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_EXAMPLES "Build examples" 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)
list(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake")
......@@ -35,7 +35,7 @@ if(BUILD_TESTING)
add_subdirectory(test)
endif()
if(BUILD_EXAMPLES)
if(MTIME_BUILD_EXAMPLES)
add_subdirectory(examples)
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