File tree Expand file tree Collapse file tree 6 files changed +10
-0
lines changed
Expand file tree Collapse file tree 6 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -152,6 +152,7 @@ if(CCACHE_FOUND)
152152 endif ()
153153 endif ()
154154endif ()
155+ mark_as_advanced (CCACHE_FOUND )
155156
156157# Variable to accumulate swig definitions from various submodules.
157158set (SWIG_DEFINES "" )
@@ -239,6 +240,7 @@ if (WITH_ROCKSDB)
239240 set (CMAKE_FIND_PACKAGE_PREFER_CONFIG TRUE )
240241 endif ()
241242 find_package (RocksDB CONFIG REQUIRED )
243+ mark_as_advanced (RocksDB_DIR )
242244 if (WIN32 )
243245 set (CMAKE_FIND_PACKAGE_PREFER_CONFIG ${TEMP} )
244246 endif ()
@@ -253,6 +255,7 @@ if (WITH_ROCKSDB)
253255 # the libzstd.a along with the rocksdb library when needed and feature
254256 # detect based on rocksdb API?
255257 find_package (zstd CONFIG REQUIRED )
258+ mark_as_advanced (zstd_DIR )
256259 message (STATUS "zstd: found at '${zstd_DIR} '." )
257260 link_libraries (zstd::libzstd_static )
258261
Original file line number Diff line number Diff line change @@ -86,6 +86,7 @@ endif()
8686if (NOT HDF5_INCLUDE_DIR OR NOT HDF5_LIBRARY_DIR)
8787 # First try to find it as a config.
8888 find_package (HDF5 CONFIG )
89+ mark_as_advanced (HDF5_DIR )
8990 if (HDF5_DIR)
9091 message (STATUS "HDF5: found config at '${HDF5_DIR} '." )
9192 set (HDF5_LIBRARIES hdf5_cpp-static)
Original file line number Diff line number Diff line change @@ -33,8 +33,10 @@ if(NOT OCC_INCLUDE_DIR AND NOT OCC_LIBRARY_DIR)
3333 # OpenCASCADE may be built with VTK support. Try to find VTK first to avoid
3434 # CMake errors when OpenCASCADE's config references VTK targets.
3535 find_package (VTK QUIET )
36+ mark_as_advanced (VTK_DIR )
3637
3738 find_package (OpenCASCADE CONFIG REQUIRED )
39+ mark_as_advanced (OpenCASCADE_DIR )
3840 message (STATUS "Found OpenCASCADE config: ${OpenCASCADE_DIR} " )
3941
4042 if (OpenCASCADE_VERSION VERSION_LESS "7.9.0" )
Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ if(NOT OPENCOLLADA_INCLUDE_DIR AND NOT OPENCOLLADA_LIBRARY_DIR)
2121 # If package is found, automatically sets
2222 # OPENCOLLADA_INCLUDE_DIRS and OPENCOLLADA_LIBRARIES (list of targets, not paths).
2323 find_package (OpenCOLLADA CONFIG )
24+ mark_as_advanced (OpenCOLLADA_DIR )
2425 if (OpenCOLLADA_DIR)
2526 message (STATUS "Found OpenCOLLADA: '${OpenCOLLADA_DIR} '." )
2627 set (OPENCOLLADA_FOUND TRUE )
Original file line number Diff line number Diff line change @@ -11,12 +11,14 @@ UNIFY_ENVVARS_AND_CACHE(JSON_INCLUDE_DIR)
1111
1212if (NOT JSON_INCLUDE_DIR)
1313 find_package (nlohmann_json CONFIG )
14+ mark_as_advanced (nlohmann_json )
1415 if (nlohmann_json_DIR)
1516 return ()
1617 endif ()
1718endif ()
1819
1920find_path (json_header_path "nlohmann/json.hpp" HINTS "${JSON_INCLUDE_DIR} " )
21+ mark_as_advanced (json_header_path )
2022
2123if (json_header_path)
2224 message (STATUS "JSON for Modern C++ header file found in '${json_header_path} '." )
Original file line number Diff line number Diff line change 2121macro (UNIFY_ENVVARS_AND_CACHE VAR )
2222 if (NOT DEFINED ${VAR} AND DEFINED ENV{${VAR} } AND NOT ENV{${VAR} } STREQUAL "" )
2323 set (${VAR} "$ENV{${VAR} }" CACHE STRING "${VAR} " FORCE )
24+ mark_as_advanced (${VAR} )
2425 endif ()
2526endmacro ()
2627
You can’t perform that action at this time.
0 commit comments