summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOBATA Akio <obache@wizdas.com>2021-12-20 11:06:45 +0900
committerSlávek Banko <slavek.banko@axis.cz>2021-12-20 11:57:34 +0100
commitee23b74ed9b10e4c5c0c3dfe02650f53a0e5b8ca (patch)
treea4a4f6a664cea8d4fd63bc6cbd39ef9b8454cf17
parent544868bcc9aeaf703d4347b9726930a4e091c83e (diff)
downloadtdegraphics-ee23b74ed9b10e4c5c0c3dfe02650f53a0e5b8ca.tar.gz
tdegraphics-ee23b74ed9b10e4c5c0c3dfe02650f53a0e5b8ca.zip
Add a CMake build option WITH_ALL_OPTIONS disabled by default
Signed-off-by: OBATA Akio <obache@wizdas.com> (cherry picked from commit bbecf5bb845600c8c359e4ed9e07c95d93030e84)
-rw-r--r--CMakeLists.txt12
1 files changed, 7 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c749375c..426f376e 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 ##########################