vcpkg/ports/tbb/terminate-when-buildtool-notfound.patch
Jack·Boos·Yu ea6dba0cd9 [tbb] Set fatal build tool requirements for UNIX (#9188)
* [tbb]Stop building TBB when build tools are not found in UNIX, remove vcpkg_test_cmake.

* [tbb]Re-fix message.
2019-12-20 12:22:42 -08:00

14 lines
584 B
Diff

diff --git a/cmake/TBBBuild.cmake b/cmake/TBBBuild.cmake
index a2222e3..756d85c 100644
--- a/cmake/TBBBuild.cmake
+++ b/cmake/TBBBuild.cmake
@@ -158,7 +158,7 @@ function(tbb_build)
mark_as_advanced(TBB_MAKE_TOOL)
if (NOT TBB_MAKE_TOOL)
- message(STATUS "Intel TBB can not be built: required make-tool (${make_tool_name}) was not found")
+ message(FATAL_ERROR "Intel TBB can not be built: required make-tool (${make_tool_name}) was not found")
set(${tbb_build_CONFIG_DIR} ${tbb_build_CONFIG_DIR}-NOTFOUND PARENT_SCOPE)
return()
endif()