Always hide TBB_LIBRARY in CMake GUI by default.

Change-Id: I4e5c0985144b48c977ebab539634f66741922502
This commit is contained in:
Alex Stewart
2017-08-13 18:59:31 +01:00
parent 0aad590005
commit ffe7cc3eca
+2
View File
@@ -303,6 +303,8 @@ if (SUITESPARSEQR_FOUND)
"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()