summaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 2af3f66e3d4..d5ce19c54b7 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -28,7 +28,8 @@ add_definitions(
-D_REENTRANT
-D_THREAD_SAFE
-D__STDC_FORMAT_MACROS
- -D_FILE_OFFSET_BITS=64)
+ -D_FILE_OFFSET_BITS=64
+ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION)
if(LINUX)
add_definitions("-D_GNU_SOURCE")
endif()
@@ -299,7 +300,7 @@ add_subdirectory(json_spirit)
include_directories(SYSTEM "${CMAKE_SOURCE_DIR}/src/xxHash")
include_directories(SYSTEM "${CMAKE_SOURCE_DIR}/src/rapidjson/include")
-find_package(fmt 5.2.1 QUIET)
+find_package(fmt 6.0.0 QUIET)
if(fmt_FOUND)
include_directories(SYSTEM "${fmt_INCLUDE_DIR}")
else()
@@ -511,7 +512,7 @@ endif(${WITH_LTTNG})
add_subdirectory(global)
-find_package(Lua REQUIRED)
+find_package(Lua 5.3 REQUIRED)
# rados object classes
add_subdirectory(cls)