From 1f2c263aa23bfadf95d2f6b9ef39b0bc4564ceb4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sat, 13 Feb 2021 01:15:19 +0100 Subject: [PATCH] Add a CMake option to WITH_ALL_OPTIONS to align with other projects. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- CMakeLists.txt | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7505b53d..f1960221 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -43,11 +43,13 @@ tde_setup_paths( ) ##### optional stuff ############################ -option( WITH_XSCREENSAVER "Enable xscreensavers support" ON ) +option( WITH_ALL_OPTIONS "Enable all optional support" OFF ) + +option( WITH_XSCREENSAVER "Enable xscreensavers support" ${WITH_ALL_OPTIONS} ) option( WITH_ALL_INCLUDED_XSCREENSAVERS "Install all included desktop files regardless of the presence of XML" OFF ) -option( WITH_LIBART "Enable libart support" ON ) -option( WITH_OPENGL "Enable 3D GL modes" ON ) +option( WITH_LIBART "Enable libart support" ${WITH_ALL_OPTIONS} ) +option( WITH_OPENGL "Enable 3D GL modes" ${WITH_ALL_OPTIONS} ) option( WITH_ARTS "Enable aRts support" OFF ) ##### options comments ##########################