File tree Expand file tree Collapse file tree 5 files changed +7
-7
lines changed Expand file tree Collapse file tree 5 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ if(NOT UMF_LINK_HWLOC_STATICALLY)
117
117
118
118
# add PATH to DLL on Windows
119
119
set (DLL_PATH_LIST
120
- "${DLL_PATH_LIST} ;PATH=path_list_append:${LIBHWLOC_LIBRARY_DIRS} /../bin "
120
+ "${DLL_PATH_LIST} ;PATH=path_list_append:${LIBHWLOC_DLL_DIRS} "
121
121
)
122
122
endif ()
123
123
# add PATH to DLL on Windows
@@ -337,7 +337,7 @@ endif()
337
337
if (TBB_FOUND OR TBB_LIBRARY_DIRS )
338
338
# add PATH to DLL on Windows
339
339
set (DLL_PATH_LIST
340
- "${DLL_PATH_LIST} ;PATH=path_list_append:${TBB_LIBRARY_DIRS} /../bin " )
340
+ "${DLL_PATH_LIST} ;PATH=path_list_append:${TBB_DLL_DIRS} " )
341
341
set (UMF_POOL_SCALABLE_ENABLED TRUE )
342
342
else ()
343
343
message (
@@ -354,7 +354,7 @@ if(UMF_BUILD_LIBUMF_POOL_JEMALLOC)
354
354
endif ()
355
355
# add PATH to DLL on Windows
356
356
set (DLL_PATH_LIST
357
- "${DLL_PATH_LIST} ;PATH=path_list_append:${JEMALLOC_LIBRARY_DIRS} /../bin "
357
+ "${DLL_PATH_LIST} ;PATH=path_list_append:${JEMALLOC_DLL_DIRS} "
358
358
)
359
359
endif ()
360
360
Original file line number Diff line number Diff line change 28
28
endif ()
29
29
30
30
if (WINDOWS )
31
- find_file (JEMALLOC_DLL NAMES "bin/jemalloc.dll" )
31
+ find_file (JEMALLOC_DLL NAMES "bin/jemalloc.dll" "jemalloc.dll" )
32
32
get_filename_component (JEMALLOC_DLL_DIR ${JEMALLOC_DLL} DIRECTORY )
33
33
set (JEMALLOC_DLL_DIRS ${JEMALLOC_DLL_DIR} )
34
34
endif ()
Original file line number Diff line number Diff line change 26
26
endif ()
27
27
28
28
if (WINDOWS )
29
- find_file (TBB_DLL NAMES "bin/tbbmalloc.dll" )
29
+ find_file (TBB_DLL NAMES "bin/tbbmalloc.dll" "tbbmalloc.dll" )
30
30
get_filename_component (TBB_DLL_DIR ${TBB_DLL} DIRECTORY )
31
31
set (TBB_DLL_DIRS ${TBB_DLL_DIR} )
32
32
endif ()
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ try_run(
38
38
RUN_OUTPUT_VARIABLE LIBHWLOC_API_VERSION )
39
39
40
40
if (WINDOWS )
41
- find_file (LIBHWLOC_DLL NAMES "bin/hwloc-15.dll" "bin/libhwloc-15.dll" )
41
+ find_file (LIBHWLOC_DLL NAMES "bin/hwloc-15.dll" "bin/libhwloc-15.dll" "hwloc-15.dll" "libhwloc-15.dll" )
42
42
get_filename_component (LIBHWLOC_DLL_DIR ${LIBHWLOC_DLL} DIRECTORY )
43
43
set (LIBHWLOC_DLL_DIRS ${LIBHWLOC_DLL_DIR} )
44
44
endif ()
Original file line number Diff line number Diff line change 26
26
endif ()
27
27
28
28
if (WINDOWS )
29
- find_file (TBB_DLL NAMES "bin/tbbmalloc.dll" )
29
+ find_file (TBB_DLL NAMES "bin/tbbmalloc.dll" "tbbmalloc.dll" )
30
30
get_filename_component (TBB_DLL_DIR ${TBB_DLL} DIRECTORY )
31
31
set (TBB_DLL_DIRS ${TBB_DLL_DIR} )
32
32
endif ()
You can’t perform that action at this time.
0 commit comments