|
|
@ -35,7 +35,7 @@ else () |
|
|
|
endif () |
|
|
|
endif () |
|
|
|
|
|
|
|
|
|
|
|
if (${USE_GFLAGS} EQUAL 1) |
|
|
|
if (${USE_GFLAGS} EQUAL 1) |
|
|
|
message("GFLAGS library is enabled") |
|
|
|
message(STATUS "GFLAGS library is enabled") |
|
|
|
set(GFLAGS_CXX_FLAGS -DGFLAGS=gflags) |
|
|
|
set(GFLAGS_CXX_FLAGS -DGFLAGS=gflags) |
|
|
|
set(GFLAGS_LIBS debug ${GFLAGS_LIB_DEBUG} optimized ${GFLAGS_LIB_RELEASE}) |
|
|
|
set(GFLAGS_LIBS debug ${GFLAGS_LIB_DEBUG} optimized ${GFLAGS_LIB_RELEASE}) |
|
|
|
|
|
|
|
|
|
|
@ -43,7 +43,7 @@ if (${USE_GFLAGS} EQUAL 1) |
|
|
|
include_directories(${GFLAGS_INCLUDE}) |
|
|
|
include_directories(${GFLAGS_INCLUDE}) |
|
|
|
set (THIRDPARTY_LIBS ${THIRDPARTY_LIBS} ${GFLAGS_LIBS}) |
|
|
|
set (THIRDPARTY_LIBS ${THIRDPARTY_LIBS} ${GFLAGS_LIBS}) |
|
|
|
else () |
|
|
|
else () |
|
|
|
message("GFLAGS library is disabled") |
|
|
|
message(STATUS "GFLAGS library is disabled") |
|
|
|
endif () |
|
|
|
endif () |
|
|
|
|
|
|
|
|
|
|
|
# ================================================== SNAPPY ================================================== |
|
|
|
# ================================================== SNAPPY ================================================== |
|
|
@ -65,7 +65,7 @@ else () |
|
|
|
endif () |
|
|
|
endif () |
|
|
|
|
|
|
|
|
|
|
|
if (${USE_SNAPPY} EQUAL 1) |
|
|
|
if (${USE_SNAPPY} EQUAL 1) |
|
|
|
message("SNAPPY library is enabled") |
|
|
|
message(STATUS "SNAPPY library is enabled") |
|
|
|
set(SNAPPY_CXX_FLAGS -DSNAPPY) |
|
|
|
set(SNAPPY_CXX_FLAGS -DSNAPPY) |
|
|
|
set(SNAPPY_LIBS debug ${SNAPPY_LIB_DEBUG} optimized ${SNAPPY_LIB_RELEASE}) |
|
|
|
set(SNAPPY_LIBS debug ${SNAPPY_LIB_DEBUG} optimized ${SNAPPY_LIB_RELEASE}) |
|
|
|
|
|
|
|
|
|
|
@ -73,7 +73,7 @@ if (${USE_SNAPPY} EQUAL 1) |
|
|
|
include_directories(${SNAPPY_INCLUDE}) |
|
|
|
include_directories(${SNAPPY_INCLUDE}) |
|
|
|
set (THIRDPARTY_LIBS ${THIRDPARTY_LIBS} ${SNAPPY_LIBS}) |
|
|
|
set (THIRDPARTY_LIBS ${THIRDPARTY_LIBS} ${SNAPPY_LIBS}) |
|
|
|
else () |
|
|
|
else () |
|
|
|
message("SNAPPY library is disabled") |
|
|
|
message(STATUS "SNAPPY library is disabled") |
|
|
|
endif () |
|
|
|
endif () |
|
|
|
|
|
|
|
|
|
|
|
# ================================================== LZ4 ================================================== |
|
|
|
# ================================================== LZ4 ================================================== |
|
|
@ -95,7 +95,7 @@ else () |
|
|
|
endif () |
|
|
|
endif () |
|
|
|
|
|
|
|
|
|
|
|
if (${USE_LZ4} EQUAL 1) |
|
|
|
if (${USE_LZ4} EQUAL 1) |
|
|
|
message("LZ4 library is enabled") |
|
|
|
message(STATUS "LZ4 library is enabled") |
|
|
|
set(LZ4_CXX_FLAGS -DLZ4) |
|
|
|
set(LZ4_CXX_FLAGS -DLZ4) |
|
|
|
set(LZ4_LIBS debug ${LZ4_LIB_DEBUG} optimized ${LZ4_LIB_RELEASE}) |
|
|
|
set(LZ4_LIBS debug ${LZ4_LIB_DEBUG} optimized ${LZ4_LIB_RELEASE}) |
|
|
|
|
|
|
|
|
|
|
@ -103,7 +103,7 @@ if (${USE_LZ4} EQUAL 1) |
|
|
|
include_directories(${LZ4_INCLUDE}) |
|
|
|
include_directories(${LZ4_INCLUDE}) |
|
|
|
set (THIRDPARTY_LIBS ${THIRDPARTY_LIBS} ${LZ4_LIBS}) |
|
|
|
set (THIRDPARTY_LIBS ${THIRDPARTY_LIBS} ${LZ4_LIBS}) |
|
|
|
else () |
|
|
|
else () |
|
|
|
message("LZ4 library is disabled") |
|
|
|
message(STATUS "LZ4 library is disabled") |
|
|
|
endif () |
|
|
|
endif () |
|
|
|
|
|
|
|
|
|
|
|
# ================================================== ZLIB ================================================== |
|
|
|
# ================================================== ZLIB ================================================== |
|
|
@ -125,7 +125,7 @@ else () |
|
|
|
endif () |
|
|
|
endif () |
|
|
|
|
|
|
|
|
|
|
|
if (${USE_ZLIB} EQUAL 1) |
|
|
|
if (${USE_ZLIB} EQUAL 1) |
|
|
|
message("ZLIB library is enabled") |
|
|
|
message(STATUS "ZLIB library is enabled") |
|
|
|
set(ZLIB_CXX_FLAGS -DZLIB) |
|
|
|
set(ZLIB_CXX_FLAGS -DZLIB) |
|
|
|
set(ZLIB_LIBS debug ${ZLIB_LIB_DEBUG} optimized ${ZLIB_LIB_RELEASE}) |
|
|
|
set(ZLIB_LIBS debug ${ZLIB_LIB_DEBUG} optimized ${ZLIB_LIB_RELEASE}) |
|
|
|
|
|
|
|
|
|
|
@ -133,7 +133,7 @@ if (${USE_ZLIB} EQUAL 1) |
|
|
|
include_directories(${ZLIB_INCLUDE}) |
|
|
|
include_directories(${ZLIB_INCLUDE}) |
|
|
|
set (THIRDPARTY_LIBS ${THIRDPARTY_LIBS} ${ZLIB_LIBS}) |
|
|
|
set (THIRDPARTY_LIBS ${THIRDPARTY_LIBS} ${ZLIB_LIBS}) |
|
|
|
else () |
|
|
|
else () |
|
|
|
message("ZLIB library is disabled") |
|
|
|
message(STATUS "ZLIB library is disabled") |
|
|
|
endif () |
|
|
|
endif () |
|
|
|
|
|
|
|
|
|
|
|
# |
|
|
|
# |
|
|
@ -155,7 +155,7 @@ else () |
|
|
|
endif () |
|
|
|
endif () |
|
|
|
|
|
|
|
|
|
|
|
if (${USE_JEMALLOC} EQUAL 1) |
|
|
|
if (${USE_JEMALLOC} EQUAL 1) |
|
|
|
message("JEMALLOC library is enabled") |
|
|
|
message(STATUS "JEMALLOC library is enabled") |
|
|
|
set(JEMALLOC_CXX_FLAGS -DJEMALLOC) |
|
|
|
set(JEMALLOC_CXX_FLAGS -DJEMALLOC) |
|
|
|
set(JEMALLOC_LIBS debug ${JEMALLOC_LIB_DEBUG} optimized ${JEMALLOC_LIB_RELEASE}) |
|
|
|
set(JEMALLOC_LIBS debug ${JEMALLOC_LIB_DEBUG} optimized ${JEMALLOC_LIB_RELEASE}) |
|
|
|
|
|
|
|
|
|
|
@ -165,5 +165,5 @@ if (${USE_JEMALLOC} EQUAL 1) |
|
|
|
set (ARTIFACT_SUFFIX "_je") |
|
|
|
set (ARTIFACT_SUFFIX "_je") |
|
|
|
else () |
|
|
|
else () |
|
|
|
set (ARTIFACT_SUFFIX "") |
|
|
|
set (ARTIFACT_SUFFIX "") |
|
|
|
message("JEMALLOC library is disabled") |
|
|
|
message(STATUS "JEMALLOC library is disabled") |
|
|
|
endif () |
|
|
|
endif () |
|
|
|