Skip to content
Snippets Groups Projects
Commit 56648b5b authored by Ezekiel Dohmen's avatar Ezekiel Dohmen
Browse files

Adding switch for shmem

parent 4167698b
No related branches found
No related tags found
3 merge requests!439RCG 5.0 release fro deb 10,!387Merge master branch into debian packaging branch,!370shmem instead of findsharedmemory, and allow force posix shmem build option
......@@ -22,6 +22,10 @@ if(${USE_STDLIB_MATH})
list(APPEND CFLAGS "-DUSE_STDLIB_MATH=1")
endif()
if(${DEFAULT_TO_SHMEM_BUFFERS})
list(APPEND CFLAGS "-DDEFAULT_TO_SHMEM_BUFFERS=1")
endif()
# Turn the ; seperated list into space seperated list and add to CFLAGS
string(REPLACE ";" " " CFLAGS_SPACE_SEPERATED "${CFLAGS}")
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${CFLAGS_SPACE_SEPERATED}" )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment