Fix TBB in case of Conan + NodeJS build (#6333)
This commit is contained in:
committed by
GitHub
parent
c204360aa0
commit
bb18a2b428
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user