mirror of
https://github.com/ceres-solver/ceres-solver.git
synced 2026-08-29 08:34:37 +08:00
Do not custom format TBB version
Recent TBB CMake package configurations do not define the TBB_INTERFACE_VERSION variable. This causes the reported version to be incomplete, i.e., the version looks as "(2022.0 / )". Use the CMake specified package variable to report the identified version instead. Change-Id: Ic7851c821217e20fd6673de5442808ea3d302f4a
This commit is contained in:
@@ -332,7 +332,7 @@ if (TARGET SuiteSparse::SPQR)
|
||||
find_package(TBB QUIET NO_MODULE)
|
||||
if (TBB_FOUND)
|
||||
message(STATUS "Found Intel Thread Building Blocks (TBB) library "
|
||||
"(${TBB_VERSION_MAJOR}.${TBB_VERSION_MINOR} / ${TBB_INTERFACE_VERSION}). "
|
||||
"(${TBB_VERSION}). "
|
||||
"Assuming SuiteSparseQR was compiled with TBB.")
|
||||
# Add the TBB libraries to the SuiteSparseQR libraries (the only
|
||||
# libraries to optionally depend on TBB).
|
||||
|
||||
Reference in New Issue
Block a user