summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorOBATA Akio <[email protected]>2021-12-20 11:06:45 +0900
committerOBATA Akio <[email protected]>2021-12-20 11:25:39 +0900
commitbbecf5bb845600c8c359e4ed9e07c95d93030e84 (patch)
tree06386fc8fe89c8e15f08a85744e77edd23edd5a5 /CMakeLists.txt
parent9cde144216b331f0eef2ce2c3800d8356109ccc7 (diff)
downloadtdegraphics-bbecf5bb845600c8c359e4ed9e07c95d93030e84.tar.gz
tdegraphics-bbecf5bb845600c8c359e4ed9e07c95d93030e84.zip
Add a CMake build option WITH_ALL_OPTIONS disabled by default
Signed-off-by: OBATA Akio <[email protected]>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt12
1 files changed, 7 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 0c6ff909..a48f5976 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -43,11 +43,13 @@ tde_setup_paths( )
##### optional stuff ############################
-option( WITH_T1LIB "Enable t1lib support" OFF )
-option( WITH_PAPER "Enable libpaper support" OFF )
-OPTION( WITH_TIFF "Enable tiff support (tdefile-plugins)" OFF )
-OPTION( WITH_OPENEXR "Enable openexr support (tdefile-plugins)" OFF )
-OPTION( WITH_PDF "Enable pdf support (tdefile-plugins)" OFF )
+OPTION( WITH_ALL_OPTIONS "Enable all optional support" OFF )
+
+option( WITH_T1LIB "Enable t1lib support" ${WITH_ALL_OPTIONS} )
+option( WITH_PAPER "Enable libpaper support" ${WITH_ALL_OPTIONS} )
+OPTION( WITH_TIFF "Enable tiff support (tdefile-plugins)" ${WITH_ALL_OPTIONS} )
+OPTION( WITH_OPENEXR "Enable openexr support (tdefile-plugins)" ${WITH_ALL_OPTIONS} )
+OPTION( WITH_PDF "Enable pdf support (tdefile-plugins)" ${WITH_ALL_OPTIONS} )
##### options comments ##########################