From bbecf5bb845600c8c359e4ed9e07c95d93030e84 Mon Sep 17 00:00:00 2001 From: OBATA Akio Date: Mon, 20 Dec 2021 11:06:45 +0900 Subject: Add a CMake build option WITH_ALL_OPTIONS disabled by default Signed-off-by: OBATA Akio --- CMakeLists.txt | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'CMakeLists.txt') 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 ########################## -- cgit v1.2.1