Commit 2a1ee35d authored by Rafaël Carré's avatar Rafaël Carré

cmake: enable mmap access

parent b46ba410
...@@ -177,6 +177,9 @@ set(CMAKE_EXTRA_INCLUDE_FILES) ...@@ -177,6 +177,9 @@ set(CMAKE_EXTRA_INCLUDE_FILES)
set(CMAKE_EXTRA_INCLUDE_FILES sys/mman.h) set(CMAKE_EXTRA_INCLUDE_FILES sys/mman.h)
vlc_check_functions_exist(mmap) vlc_check_functions_exist(mmap)
if(HAVE_MMAP)
vlc_enable_modules(access_mmap)
endif(HAVE_MMAP)
set(CMAKE_EXTRA_INCLUDE_FILES) set(CMAKE_EXTRA_INCLUDE_FILES)
set(CMAKE_EXTRA_INCLUDE_FILES locale.h) set(CMAKE_EXTRA_INCLUDE_FILES locale.h)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment