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)
|
2017-09-04 17:04:33 +00:00
|
|
|
add_subdirectory (libboost)
|
2016-12-20 13:48:32 +00:00
|
|
|
endif ()
|
|
|
|
|
2017-01-13 11:25:44 +00:00
|
|
|
if (USE_INTERNAL_POCO_LIBRARY)
|
2017-09-04 17:04:33 +00:00
|
|
|
add_subdirectory (libpoco)
|
2017-01-13 11:25:44 +00:00
|
|
|
endif ()
|
|
|
|
|
2017-02-28 23:49:04 +00:00
|
|
|
if (USE_INTERNAL_LZ4_LIBRARY)
|
2017-10-13 18:52:23 +00:00
|
|
|
add_subdirectory (lz4-cmake)
|
2017-02-28 23:49:04 +00:00
|
|
|
endif ()
|
|
|
|
|
|
|
|
if (USE_INTERNAL_ZSTD_LIBRARY)
|
2017-10-13 18:52:23 +00:00
|
|
|
add_subdirectory (zstd-cmake)
|
2017-02-28 23:49:04 +00:00
|
|
|
endif ()
|
|
|
|
|
|
|
|
if (USE_INTERNAL_RE2_LIBRARY)
|
2017-09-04 17:04:33 +00:00
|
|
|
add_subdirectory (libre2)
|
2017-02-28 23:49:04 +00:00
|
|
|
endif ()
|
|
|
|
|
|
|
|
if (USE_INTERNAL_DOUBLE_CONVERSION_LIBRARY)
|
2017-09-04 17:04:33 +00:00
|
|
|
add_subdirectory (libdouble-conversion)
|
2017-02-28 23:49:04 +00:00
|
|
|
endif ()
|
|
|
|
|
|
|
|
if (USE_INTERNAL_ZOOKEEPER_LIBRARY)
|
2017-09-04 17:04:33 +00:00
|
|
|
add_subdirectory (libzookeeper)
|
2017-02-28 23:49:04 +00:00
|
|
|
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)
|
2017-09-04 17:04:33 +00:00
|
|
|
add_subdirectory (libunwind)
|
2017-06-23 14:41:07 +00:00
|
|
|
endif ()
|
2017-02-28 23:49:04 +00:00
|
|
|
|
2017-02-07 21:28:13 +00:00
|
|
|
if (USE_INTERNAL_ZLIB_LIBRARY)
|
2017-09-04 17:04:33 +00:00
|
|
|
add_subdirectory (libzlib-ng)
|
2017-02-07 21:28:13 +00:00
|
|
|
endif ()
|
|
|
|
|
2017-06-23 14:41:07 +00:00
|
|
|
if (USE_INTERNAL_CCTZ_LIBRARY)
|
2017-09-04 17:04:33 +00:00
|
|
|
add_subdirectory (libcctz)
|
2017-06-23 14:41:07 +00:00
|
|
|
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)
|
2017-09-04 17:04:33 +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)
|
2017-09-04 17:04:33 +00:00
|
|
|
add_subdirectory (libcpuid)
|
2017-08-31 17:11:30 +00:00
|
|
|
endif ()
|