diff --git a/server/CMakeLists.txt b/server/CMakeLists.txt index cf9d3c5..85204f9 100644 --- a/server/CMakeLists.txt +++ b/server/CMakeLists.txt @@ -292,6 +292,7 @@ target_link_libraries(TeaSpeakServer openssl::crypto::shared dl z + rt # For clock_gettime ) #check_include_file(mysql.h HAVE_MYSQL_MYSQL_H) @@ -306,7 +307,7 @@ set(DISABLE_JEMALLOC ON) if (NOT DISABLE_JEMALLOC) target_link_libraries(TeaSpeakServer jemalloc - ) + ) add_definitions(-DHAVE_JEMALLOC) endif ()