Skip to content

Commit

Permalink
fixup! cmake [KILL 3-STATE]: Make WITH_GUI binary option w/ default OFF
Browse files Browse the repository at this point in the history
Mark `Qt5*_DIR` cache variables as advanced to hide them in the GUI.
  • Loading branch information
hebasto committed May 8, 2024
1 parent 9857482 commit 87d3b72
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmake/module/FindQt5.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,7 @@ find_package_handle_standard_args(Qt5
REQUIRED_VARS Qt5_DIR
VERSION_VAR Qt5_VERSION
)

foreach(component IN LISTS Qt5_FIND_COMPONENTS ITEMS "")
mark_as_advanced(Qt5${component}_DIR)
endforeach()

0 comments on commit 87d3b72

Please sign in to comment.