Skip to content

Commit 90448b6

Browse files
committed
Add UMF_SRC_VERSION to UMF_PRIVATE_COMPILE_DEFINITIONS
Signed-off-by: Lukasz Dorau <lukasz.dorau@intel.com>
1 parent 1814d90 commit 90448b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ set(UMF_SOURCES_WINDOWS libumf_windows.c)
7676
# Compile definitions for UMF library.
7777
#
7878
# TODO: Cleanup the compile definitions across all the CMake files
79-
set(UMF_PRIVATE_COMPILE_DEFINITIONS "")
79+
set(UMF_PRIVATE_COMPILE_DEFINITIONS "-DUMF_SRC_VERSION=${UMF_SRC_VERSION}")
8080

8181
set(UMF_SOURCES_COMMON_LINUX_MACOSX
8282
provider/provider_os_memory.c

0 commit comments

Comments
 (0)