Skip to content

Commit

Permalink
add GudhUI compilation flag
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidLapous authored Nov 17, 2023
1 parent 2e94f63 commit c91bc16
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down
2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ foreach(GUDHI_MODULE ${GUDHI_MODULES})
endforeach()
endforeach()

if (WITH_GUDHI_THIRD_PARTY)
if (WITH_GUDHI_GUDHUI)
add_subdirectory(GudhUI)
endif()

Expand Down
2 changes: 2 additions & 0 deletions src/cmake/modules/GUDHI_options.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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()

0 comments on commit c91bc16

Please sign in to comment.