Fix TBB in case of Conan + NodeJS build (#6333)

This commit is contained in:
Siarhei Fedartsou
2022-08-26 17:09:52 +02:00
committed by GitHub
parent c204360aa0
commit bb18a2b428
2 changed files with 3 additions and 2 deletions
+2 -2
View File
@@ -33,8 +33,8 @@ endforeach(binary)
# For mason-enabled builds we copy over tbb's shared objects for packaging.
# TODO: consider using statically linked tbb library (for node_osrm only!)
if (ENABLE_MASON)
foreach(libpath ${MASON_PACKAGE_tbb_LIBRARY_DIRS})
if (ENABLE_CONAN)
foreach(libpath ${CONAN_LIB_DIRS_ONETBB})
file(GLOB TBBGlob ${libpath}/*.*)
foreach(filepath ${TBBGlob})
get_filename_component(filename ${filepath} NAME)