2016-12-01 22:44:59 +00:00
|
|
|
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-old-style-cast")
|
2016-08-25 21:55:02 +00:00
|
|
|
|
2016-12-20 13:48:32 +00:00
|
|
|
if (USE_INTERNAL_BOOST_LIBRARY)
|
|
|
|
add_subdirectory (libboost)
|
|
|
|
endif ()
|
|
|
|
|
2017-01-13 11:25:44 +00:00
|
|
|
if (USE_INTERNAL_POCO_LIBRARY)
|
|
|
|
add_subdirectory (libpoco)
|
|
|
|
endif ()
|
|
|
|
|
2017-02-28 23:49:04 +00:00
|
|
|
if (USE_INTERNAL_LZ4_LIBRARY)
|
|
|
|
add_subdirectory (liblz4)
|
|
|
|
endif ()
|
|
|
|
|
|
|
|
if (USE_INTERNAL_ZSTD_LIBRARY)
|
|
|
|
add_subdirectory (libzstd)
|
|
|
|
endif ()
|
|
|
|
|
|
|
|
if (USE_INTERNAL_RE2_LIBRARY)
|
|
|
|
add_subdirectory (libre2)
|
|
|
|
endif ()
|
|
|
|
|
|
|
|
if (USE_INTERNAL_DOUBLE_CONVERSION_LIBRARY)
|
|
|
|
add_subdirectory (libdouble-conversion)
|
|
|
|
endif ()
|
|
|
|
|
|
|
|
if (USE_INTERNAL_ZOOKEEPER_LIBRARY)
|
|
|
|
add_subdirectory (libzookeeper)
|
|
|
|
endif ()
|
|
|
|
|
2017-08-09 20:52:55 +00:00
|
|
|
if (USE_INTERNAL_CITYHASH_LIBRARY)
|
|
|
|
add_subdirectory (libcityhash)
|
|
|
|
endif ()
|
|
|
|
|
|
|
|
if (USE_INTERNAL_FARMHASH_LIBRARY)
|
|
|
|
add_subdirectory (libfarmhash)
|
|
|
|
endif ()
|
|
|
|
|
|
|
|
if (USE_INTERNAL_METROHASH_LIBRARY)
|
|
|
|
add_subdirectory (libmetrohash)
|
|
|
|
endif ()
|
|
|
|
|
|
|
|
if (USE_INTERNAL_BTRIE_LIBRARY)
|
|
|
|
add_subdirectory (libbtrie)
|
|
|
|
endif ()
|
2017-06-23 14:41:07 +00:00
|
|
|
|
|
|
|
if (USE_INTERNAL_UNWIND_LIBRARY)
|
|
|
|
add_subdirectory (libunwind)
|
|
|
|
endif ()
|
2017-02-28 23:49:04 +00:00
|
|
|
|
2017-02-07 21:28:13 +00:00
|
|
|
if (USE_INTERNAL_ZLIB_LIBRARY)
|
|
|
|
add_subdirectory (libzlib-ng)
|
|
|
|
endif ()
|
|
|
|
|
2017-06-23 14:41:07 +00:00
|
|
|
if (USE_INTERNAL_CCTZ_LIBRARY)
|
|
|
|
add_subdirectory (libcctz)
|
|
|
|
endif ()
|
2016-02-07 21:58:58 +00:00
|
|
|
|
2017-01-13 11:25:44 +00:00
|
|
|
if (ENABLE_LIBTCMALLOC AND USE_INTERNAL_GPERFTOOLS_LIBRARY)
|
2016-11-28 15:35:13 +00:00
|
|
|
add_subdirectory (libtcmalloc)
|
2016-12-01 22:44:59 +00:00
|
|
|
endif ()
|
2016-11-28 15:35:13 +00:00
|
|
|
|
2017-08-09 20:52:55 +00:00
|
|
|
if (NOT ARCH_ARM)
|
2016-02-07 21:58:58 +00:00
|
|
|
add_subdirectory (libcpuid)
|
2016-12-01 22:44:59 +00:00
|
|
|
endif ()
|
2017-08-31 17:11:30 +00:00
|
|
|
|
|
|
|
if (USE_INTERNAL_MYSQL_LIBRARY)
|
|
|
|
add_subdirectory (mariadb-connector-c)
|
|
|
|
target_include_directories (${MYSQLCLIENT_LIBRARIES} BEFORE PUBLIC ${MYSQL_INCLUDE_DIR})
|
|
|
|
endif ()
|