summaryrefslogtreecommitdiff
path: root/screenshots
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2026-01-04 19:34:14 +0100
committerAlbrecht Schlosser <albrechts.fltk@online.de>2026-01-04 19:34:14 +0100
commit811a188bbf276841365f2ad4b11197f5820fe571 (patch)
treee0786e12f2525d9c60379884f6447c1003415519 /screenshots
parent68d2c48514fcb1161da3bf9db0d385faf650b2a1 (diff)
Add FLTK_BUILD_SCREENSHOTS option info to CMake build summary
+ build screenshot programs if option FLTK_BUILD_SCREENSHOTS=ON: don't `EXCLUDE_FROM_ALL` because the option must be set anyway.
Diffstat (limited to 'screenshots')
-rw-r--r--screenshots/CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/screenshots/CMakeLists.txt b/screenshots/CMakeLists.txt
index 31dad6434..f7cc10e30 100644
--- a/screenshots/CMakeLists.txt
+++ b/screenshots/CMakeLists.txt
@@ -18,12 +18,12 @@
# Screenshot programs for FLTK documentation
########################################################################
-# The programs in this subdirectory are intended to be used by
+# The programs in this subdirectory are intended to be used by FLTK
# developers to create screenshots for our Doxygen documentation.
# See README.txt for more info.
# These programs are not "installed" on target systems, they are only
-# built in the FLTK build tree.
+# built in the FLTK build tree (if FLTK_BUILD_SCREENSHOTS=ON).
########################################################################
# Define a list of programs that will be built w/o extension.
@@ -61,7 +61,7 @@ foreach(_prog ${NAMES})
set_target_properties(${_target} PROPERTIES
OUTPUT_NAME ${_target}
- EXCLUDE_FROM_ALL TRUE
+ EXCLUDE_FROM_ALL FALSE
)
endforeach()