We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59d97a9 commit 219ce72Copy full SHA for 219ce72
cmake/lnx/TBBConfig.cmake
@@ -65,7 +65,7 @@ endif()
65
# For non-GCC compilers try to find version of system GCC to choose right compiler subdirectory.
66
if (NOT _tbb_compiler_id STREQUAL "GNU")
67
execute_process(COMMAND gcc --version OUTPUT_VARIABLE _tbb_gcc_ver_output ERROR_QUIET)
68
- string(REGEX REPLACE ".*gcc.*([0-9]+\\.[0-9]+)\\.[0-9]+.*" "\\1" _tbb_compiler_ver "${_tbb_gcc_ver_output}")
+ string(REGEX REPLACE ".*gcc.* ([0-9]+\\.[0-9]+)\\.[0-9]+.*" "\\1" _tbb_compiler_ver "${_tbb_gcc_ver_output}")
69
if (NOT _tbb_compiler_ver)
70
message(FATAL_ERROR "This Intel TBB package is intended to be used only environment with available 'gcc'")
71
endif()
0 commit comments