diff --git a/CMakeLists.txt b/CMakeLists.txt index 24dfcbb956..b77755139a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -50,6 +50,7 @@ set(CMAKE_SHARED_LIBRARY_PREFIX "") set(CMAKE_SHARED_MODULE_PREFIX "") set(CMAKE_POSITION_INDEPENDENT_CODE ON) include(GNUInstallDirs) +include(CheckSymbolExists) add_compile_definitions(_GNU_SOURCE) add_definitions(-D_FILE_OFFSET_BITS=64)