Skip to content

Commit 0a63bbd

Browse files
authored
Merge pull request #1308 from lukaszstolarczuk/depr-hwloc-disable-cmake
[CMake] Warn about UMF_DISABLE_HWLOC being deprecated
2 parents d970e09 + d70faa8 commit 0a63bbd

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

CMakeLists.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,13 @@ set_property(CACHE UMF_PROXY_LIB_BASED_ON_POOL
119119
PROPERTY STRINGS ${KNOWN_PROXY_LIB_POOLS})
120120
list(APPEND UMF_OPTIONS_LIST UMF_PROXY_LIB_BASED_ON_POOL)
121121

122+
if(UMF_DISABLE_HWLOC)
123+
message(
124+
WARNING
125+
"UMF_DISABLE_HWLOC option is now deprecated and will be removed in v0.12.0 UMF release!"
126+
)
127+
endif()
128+
122129
# --------------------------------------------------------------------------- #
123130
# Setup required variables, definitions; fetch dependencies; include
124131
# sub_directories based on build options; set flags; etc.

0 commit comments

Comments
 (0)