File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -124,7 +124,7 @@ if(NOT UMF_LINK_HWLOC_STATICALLY)
124
124
set (DLL_PATH_LIST
125
125
"${DLL_PATH_LIST} ;PATH=path_list_append:${LIBHWLOC_LIBRARY_DIRS} /../bin"
126
126
)
127
- elseif (WINDOWS )
127
+ elseif (WINDOWS AND NOT UMF_DISABLE_HWLOC )
128
128
include (FetchContent )
129
129
set (HWLOC_ENABLE_TESTING OFF )
130
130
set (HWLOC_SKIP_LSTOPO ON )
@@ -151,7 +151,7 @@ elseif(WINDOWS)
151
151
message (STATUS " LIBHWLOC_LIBRARIES = ${LIBHWLOC_LIBRARIES} " )
152
152
message (STATUS " LIBHWLOC_INCLUDE_DIRS = ${LIBHWLOC_INCLUDE_DIRS} " )
153
153
message (STATUS " LIBHWLOC_LIBRARY_DIRS = ${LIBHWLOC_LIBRARY_DIRS} " )
154
- else ( )
154
+ elseif ( NOT UMF_DISABLE_HWLOC )
155
155
include (FetchContent )
156
156
message (STATUS "Will fetch hwloc from ${UMF_HWLOC_REPO} " )
157
157
You can’t perform that action at this time.
0 commit comments