Fix cmake not enabling mmap in zm perl modules correctly this time
This commit is contained in:
parent
de16858590
commit
fcf969f575
|
@ -274,10 +274,10 @@ endif(HAVE_LIBCRYPTO AND HAVE_OPENSSL_MD5_H AND HAVE_MD5_OPENSSL)
|
||||||
|
|
||||||
# Enable mmap in all components
|
# Enable mmap in all components
|
||||||
set(ZM_MEM_MAPPED 0)
|
set(ZM_MEM_MAPPED 0)
|
||||||
set(ENABLE_MMAP 0)
|
set(ENABLE_MMAP no)
|
||||||
if(NOT ZM_NO_MMAP)
|
if(NOT ZM_NO_MMAP)
|
||||||
set(ZM_MEM_MAPPED 1)
|
set(ZM_MEM_MAPPED 1)
|
||||||
set(ENABLE_MMAP 1)
|
set(ENABLE_MMAP yes)
|
||||||
set(ZM_MMAP_PERLPACKAGE "Sys::Mmap")
|
set(ZM_MMAP_PERLPACKAGE "Sys::Mmap")
|
||||||
endif(NOT ZM_NO_MMAP)
|
endif(NOT ZM_NO_MMAP)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue