提交 5b8ed657 编写于 作者: P proller 提交者: GitHub

fix build (#602)

* fix build

* fix freebsd
上级 8ea8b8a2
......@@ -172,6 +172,8 @@ include (cmake/find_readline_edit.cmake)
include (cmake/find_zookeeper.cmake)
include (cmake/find_double-conversion.cmake)
include (cmake/find_re2.cmake)
include (libs/libcommon/cmake/find_gperftools.cmake)
include (libs/libcommon/cmake/find_jemalloc.cmake)
set (FULL_C_FLAGS "${CMAKE_C_FLAGS} ${CMAKE_C_FLAGS_${CMAKE_BUILD_TYPE}}")
set (FULL_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${CMAKE_CXX_FLAGS_${CMAKE_BUILD_TYPE}}")
......
......@@ -3,6 +3,7 @@
#include <vector>
#include <memory>
#include <cstddef>
#include <string>
class Collator;
......
......@@ -56,9 +56,6 @@ add_library (common
${CONFIG_COMMON}
)
include (cmake/find_gperftools.cmake)
include (cmake/find_jemalloc.cmake)
# When testing for memory leaks, dont link tcmalloc or jemalloc.
if (USE_JEMALLOC)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册