Skip to content

Commit b2fc3e6

Browse files
committed
Fix looking for hwloc.dll
Fix looking for hwloc.dll - do not assume a specific version of HWLOC. Ref: #421 Signed-off-by: Lukasz Dorau <lukasz.dorau@intel.com>
1 parent bd2b34c commit b2fc3e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/FindLIBHWLOC.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ get_filename_component(LIBHWLOC_INCLUDE_DIR ${LIBHWLOC_HEADER} DIRECTORY)
1515
set(LIBHWLOC_INCLUDE_DIRS ${LIBHWLOC_INCLUDE_DIR})
1616

1717
if(WINDOWS)
18-
find_file(LIBHWLOC_DLL NAMES "bin/hwloc-15.dll" "bin/libhwloc-15.dll")
18+
find_file(LIBHWLOC_DLL NAMES "bin/hwloc-*.dll" "bin/libhwloc-*.dll")
1919
get_filename_component(LIBHWLOC_DLL_DIR ${LIBHWLOC_DLL} DIRECTORY)
2020
set(LIBHWLOC_DLL_DIRS ${LIBHWLOC_DLL_DIR})
2121
endif()

0 commit comments

Comments
 (0)