From c91bc16f652c061057fc83ad2c55d02ae3dd834c Mon Sep 17 00:00:00 2001 From: David Loiseaux Date: Fri, 17 Nov 2023 14:45:29 +0100 Subject: [PATCH] add GudhUI compilation flag --- CMakeLists.txt | 2 +- src/CMakeLists.txt | 2 +- src/cmake/modules/GUDHI_options.cmake | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 03f3d7f471..c1a51312f0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -56,7 +56,7 @@ foreach(GUDHI_MODULE ${GUDHI_MODULES}) endforeach() endforeach() -if (WITH_GUDHI_THIRD_PARTY) +if (WITH_GUDHI_GUDHUI) add_subdirectory(src/GudhUI) endif() diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index dbb66faa62..92e964c4bd 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -71,7 +71,7 @@ foreach(GUDHI_MODULE ${GUDHI_MODULES}) endforeach() endforeach() -if (WITH_GUDHI_THIRD_PARTY) +if (WITH_GUDHI_GUDHUI) add_subdirectory(GudhUI) endif() diff --git a/src/cmake/modules/GUDHI_options.cmake b/src/cmake/modules/GUDHI_options.cmake index 8379e3c63f..56bbc2166d 100644 --- a/src/cmake/modules/GUDHI_options.cmake +++ b/src/cmake/modules/GUDHI_options.cmake @@ -4,6 +4,7 @@ option(WITH_GUDHI_REMOTE_TEST "Activate/deactivate datasets fetching test which option(WITH_GUDHI_PYTHON "Activate/deactivate python module compilation and installation" ON) option(WITH_GUDHI_TEST "Activate/deactivate examples compilation and installation" ON) option(WITH_GUDHI_UTILITIES "Activate/deactivate utilities compilation and installation" ON) +option(WITH_GUDHI_GUDHUI "Activate/deactivate GudhUI" ON) option(WITH_GUDHI_THIRD_PARTY "Activate/deactivate third party libraries cmake detection. When set to OFF, it is useful for doxygen or user_version i.e." ON) if (NOT WITH_GUDHI_THIRD_PARTY) @@ -12,4 +13,5 @@ if (NOT WITH_GUDHI_THIRD_PARTY) set (WITH_GUDHI_PYTHON OFF) set (WITH_GUDHI_TEST OFF) set (WITH_GUDHI_UTILITIES OFF) + set (WITH_GUDHI_GUDHUI OFF) endif()