aboutsummaryrefslogtreecommitdiffstats
path: root/extras/libmemif/src/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'extras/libmemif/src/CMakeLists.txt')
-rw-r--r--extras/libmemif/src/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/extras/libmemif/src/CMakeLists.txt b/extras/libmemif/src/CMakeLists.txt
index ddb8a52f82b..8b3223d0990 100644
--- a/extras/libmemif/src/CMakeLists.txt
+++ b/extras/libmemif/src/CMakeLists.txt
@@ -34,6 +34,7 @@ include_directories(${HEADERS_DIR})
add_library(memif SHARED ${MEMIF_SOURCES})
target_link_libraries(memif ${CMAKE_THREAD_LIBS_INIT})
+target_compile_definitions(memif PUBLIC MEMIF_CACHELINE_SIZE=${LIBMEMIF_CACHELINE_SIZE})
find_library(LIB_BSD bsd)
if(LIB_BSD)