Commit fdf011f3 authored by Ben Boeckel's avatar Ben Boeckel Committed by Kitware Robot

Merge topic 'examples-option'

89b053a5 cmake: add an option for building examples
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Merge-request: !14
parents 20bcc38d 89b053a5
...@@ -340,7 +340,10 @@ INSTALL(TARGETS QtTesting ...@@ -340,7 +340,10 @@ INSTALL(TARGETS QtTesting
ARCHIVE DESTINATION ${QtTesting_INSTALL_LIB_DIR} COMPONENT Development) ARCHIVE DESTINATION ${QtTesting_INSTALL_LIB_DIR} COMPONENT Development)
add_subdirectory(Examples) option(BUILD_EXAMPLES "Build examples" OFF)
if (BUILD_EXAMPLES)
add_subdirectory(Examples)
endif ()
include(CTest) include(CTest)
IF(BUILD_TESTING) IF(BUILD_TESTING)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment