-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
In ctrackConfig.cmake, there is the block:
if(NOT MSVC AND NOT CTRACK_DISABLE_EXECUTION_POLICY)
include(CMakeFindDependencyMacro)
find_dependency(TBB QUIET)
if(NOT TBB_FOUND)
message(STATUS "TBB not found. Disabling parallel execution for ctrack.")
set(CTRACK_DISABLE_EXECUTION_POLICY ON)
endif()
endif()When TBB is not found in the find_dependency line, it stops the installation with the failure - apparently QUIET is just there to limit the verbosity of the output.
I don't quite get how to provide CTRACK_DISABLE_EXECUTION_POLICY (I'm not super at ease with CMake configuration); it is not propagated when DISABLE_PAR is set and giving a CTRACK_DISABLE_EXECUTION_POLICY is the CMake command doesn't quite work to avoid entirely the block above.
Metadata
Metadata
Assignees
Labels
No labels