Fix TBB in case of Conan + NodeJS build

This commit is contained in:
Siarhei Fedartsou 2022-08-25 18:27:39 +02:00
parent 10e0399a3d
commit 9d371d3879

View File

@ -34,7 +34,6 @@ endforeach(binary)
# For mason-enabled builds we copy over tbb's shared objects for packaging. # For mason-enabled builds we copy over tbb's shared objects for packaging.
# TODO: consider using statically linked tbb library (for node_osrm only!) # TODO: consider using statically linked tbb library (for node_osrm only!)
if (ENABLE_CONAN) if (ENABLE_CONAN)
message(FATAL_ERROR "DFVRSDFGDFG ${CONAN_LIB_DIRS_ONETBB}")
foreach(libpath ${CONAN_LIB_DIRS_ONETBB}) foreach(libpath ${CONAN_LIB_DIRS_ONETBB})
file(GLOB TBBGlob ${libpath}/*.*) file(GLOB TBBGlob ${libpath}/*.*)
foreach(filepath ${TBBGlob}) foreach(filepath ${TBBGlob})