Always hide TBB_LIBRARY in CMake GUI by default. Change-Id: I4e5c0985144b48c977ebab539634f66741922502
diff --git a/cmake/FindSuiteSparse.cmake b/cmake/FindSuiteSparse.cmake index ede687a..94f2e10 100644 --- a/cmake/FindSuiteSparse.cmake +++ b/cmake/FindSuiteSparse.cmake
@@ -303,6 +303,8 @@ "Library, discarding TBB as a dependency.") endif() else() + # As TBB is optional, hide it from the CMake GUI even if it is not found. + mark_as_advanced(TBB_LIBRARY) message(STATUS "Did not find Intel TBB library, assuming SuiteSparseQR was " "not compiled with TBB.") endif()