File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -7,12 +7,12 @@ message(STATUS "Checking for module 'libhwloc' using find_library()")
7
7
find_library (LIBHWLOC_LIBRARY NAMES libhwloc hwloc )
8
8
set (LIBHWLOC_LIBRARIES ${LIBHWLOC_LIBRARY} )
9
9
10
- find_file (LIBHWLOC_HEADER NAMES hwloc.h HINTS /usr/include/ ${CMAKE_PREFIX_PATH} /include )
10
+ find_file (LIBHWLOC_HEADER NAMES hwloc.h )
11
11
get_filename_component (LIBHWLOC_INCLUDE_DIR ${LIBHWLOC_HEADER} DIRECTORY )
12
12
set (LIBHWLOC_INCLUDE_DIRS ${LIBHWLOC_INCLUDE_DIR} )
13
13
14
14
if (WINDOWS )
15
- find_file (LIBHWLOC_DLL NAMES hwloc-15.dll libhwloc-15.dll HINTS ${CMAKE_PREFIX_PATH} /bin )
15
+ find_file (LIBHWLOC_DLL NAMES "bin/ hwloc-15.dll" "bin/ libhwloc-15.dll" )
16
16
get_filename_component (LIBHWLOC_DLL_DIR ${LIBHWLOC_DLL} DIRECTORY )
17
17
set (LIBHWLOC_DLL_DIRS ${LIBHWLOC_DLL_DIR} )
18
18
endif ()
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ message(STATUS "Checking for module 'libtbb' using find_library()")
7
7
find_library (LIBTBB_LIBRARY NAMES libtbbmalloc tbbmalloc )
8
8
set (LIBTBB_LIBRARIES ${LIBTBB_LIBRARY} )
9
9
10
- find_file (LIBTBB_HEADER NAMES scalable_allocator.h HINTS /usr/include/tbb ${CMAKE_PREFIX_PATH} /include/tbb )
10
+ find_file (LIBTBB_HEADER NAMES "tbb/ scalable_allocator.h" )
11
11
if (LIBTBB_HEADER )
12
12
get_filename_component (LIBTBB_INCLUDE_DIR_TBB ${LIBTBB_HEADER} DIRECTORY )
13
13
get_filename_component (LIBTBB_INCLUDE_DIR ${LIBTBB_INCLUDE_DIR_TBB} DIRECTORY )
22
22
endif ()
23
23
24
24
if (WINDOWS )
25
- find_file (LIBTBB_DLL NAMES tbbmalloc.dll HINTS ${CMAKE_PREFIX_PATH} /bin )
25
+ find_file (LIBTBB_DLL NAMES "bin/ tbbmalloc.dll" )
26
26
get_filename_component (LIBTBB_DLL_DIR ${LIBTBB_DLL} DIRECTORY )
27
27
set (LIBTBB_DLL_DIRS ${LIBTBB_DLL_DIR} )
28
28
endif ()
You can’t perform that action at this time.
0 commit comments