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.
In ctrackConfig.cmake, there is the block:
When TBB is not found in the
find_dependencyline, it stops the installation with the failure - apparentlyQUIETis 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 whenDISABLE_PARis set and giving aCTRACK_DISABLE_EXECUTION_POLICYis the CMake command doesn't quite work to avoid entirely the block above.