summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 938a6f98cb..a45098efbf 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -69,7 +69,6 @@ qt_copy_or_install(DIRECTORY "${PROJECT_SOURCE_DIR}/mkspecs"
qt_build_repo_end()
-option(BUILD_EXAMPLES "Build Qt examples" ON)
-if (BUILD_EXAMPLES)
+if(BUILD_EXAMPLES)
add_subdirectory(examples)
endif()