Fix cmake not enabling mmap in zm perl modules correctly this time

This commit is contained in:
Kfir Itzhak 2013-10-09 07:08:29 +03:00
parent de16858590
commit fcf969f575
1 changed files with 2 additions and 2 deletions

View File

@ -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)