Skip to content

Commit d70faa8

Browse files
[CMake] Warn about UMF_DISABLE_HWLOC being deprecated
Ref. #1228
1 parent 3392550 commit d70faa8

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)