File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ option(LF_NO_HWLOC "Disable hwloc support" OFF)
64
64
65
65
if (NOT LF_NO_HWLOC)
66
66
# Conan exports a proper target for hwloc, vcpkg does not.
67
- find_package (hwloc 2.0 QUIET )
67
+ find_package (hwloc QUIET )
68
68
69
69
if (hwloc_FOUND)
70
70
# Instructs libfork to use hwloc.
@@ -81,7 +81,7 @@ if(NOT LF_NO_HWLOC)
81
81
82
82
unset (HWLOC_FOUND CACHE ) # Prevent dirty cache
83
83
84
- pkg_search_module(HWLOC QUIET IMPORTED_TARGET hwloc>=2.0 )
84
+ pkg_search_module(HWLOC QUIET IMPORTED_TARGET hwloc)
85
85
86
86
if (HWLOC_FOUND)
87
87
# Instructs libfork to use hwloc.
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ include(CMakeFindDependencyMacro)
5
5
find_dependency(Threads)
6
6
7
7
if (@hwloc_FOUND@)
8
- find_dependency(hwloc 2.0 )
8
+ find_dependency(REQUIRED hwloc )
9
9
elseif (@HWLOC_FOUND@)
10
10
find_dependency(PkgConfig)
11
11
pkg_search_module(HWLOC REQUIRED IMPORTED_TARGET hwloc)
You can’t perform that action at this time.
0 commit comments