File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ set(UMF_SOURCES_WINDOWS libumf_windows.c)
81
81
# Compile definitions for UMF library.
82
82
#
83
83
# TODO: Cleanup the compile definitions across all the CMake files
84
- set (UMF_PRIVATE_COMPILE_DEFINITIONS "-DUMF_SRC_VERSION =${UMF_SRC_VERSION} " )
84
+ set (UMF_PRIVATE_COMPILE_DEFINITIONS UMF_SRC_VERSION =${UMF_SRC_VERSION} )
85
85
86
86
set (UMF_SOURCES_COMMON_LINUX_MACOSX
87
87
provider/provider_os_memory.c
Original file line number Diff line number Diff line change @@ -39,6 +39,8 @@ add_library(${PROJECT_NAME}::proxy ALIAS umf_proxy)
39
39
40
40
target_link_directories (umf_proxy PRIVATE ${LIBHWLOC_LIBRARY_DIRS} )
41
41
42
+ target_compile_definitions (umf_proxy PRIVATE UMF_SRC_VERSION=${UMF_SRC_VERSION} )
43
+
42
44
if (PROXY_LIB_USES_SCALABLE_POOL )
43
45
target_compile_definitions (umf_proxy PRIVATE PROXY_LIB_USES_SCALABLE_POOL=1 )
44
46
elseif (PROXY_LIB_USES_JEMALLOC_POOL )
You can’t perform that action at this time.
0 commit comments