Skip to content

Commit

Permalink
CMake: add options to enable/disable tutorials
Browse files Browse the repository at this point in the history
  • Loading branch information
mic84 committed Apr 25, 2019
1 parent 6e03e33 commit 6de9f59
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,10 @@ add_subdirectory(Src)
#
# Tutorials and "test_install" target
#
add_subdirectory(Tutorials)
option(ENABLE_TUTORIALS "Enable Tutorials" ON)

if (ENABLE_TUTORIALS)
add_subdirectory(Tutorials)
endif ()


0 comments on commit 6de9f59

Please sign in to comment.