refactor code
This commit is contained in:
parent
e7d3180d93
commit
2b424e366b
|
@ -110,7 +110,7 @@ cat("${TD_SUPPORT_DIR}/zlib_CMakeLists.txt.in" ${CONTRIB_TMP_FILE})
|
||||||
cat("${TD_SUPPORT_DIR}/cjson_CMakeLists.txt.in" ${CONTRIB_TMP_FILE})
|
cat("${TD_SUPPORT_DIR}/cjson_CMakeLists.txt.in" ${CONTRIB_TMP_FILE})
|
||||||
|
|
||||||
# xz
|
# xz
|
||||||
cat("${TD_SUPPORT_DIR}/xz_CMakeLists.txt.in" ${CONTRIB_TMP_FILE})
|
#cat("${TD_SUPPORT_DIR}/xz_CMakeLists.txt.in" ${CONTRIB_TMP_FILE})
|
||||||
|
|
||||||
#lzma2
|
#lzma2
|
||||||
cat("${TD_SUPPORT_DIR}/lzma_CMakeLists.txt.in" ${CONTRIB_TMP_FILE})
|
cat("${TD_SUPPORT_DIR}/lzma_CMakeLists.txt.in" ${CONTRIB_TMP_FILE})
|
||||||
|
@ -263,12 +263,12 @@ target_include_directories(
|
||||||
)
|
)
|
||||||
unset(CMAKE_PROJECT_INCLUDE_BEFORE)
|
unset(CMAKE_PROJECT_INCLUDE_BEFORE)
|
||||||
|
|
||||||
add_subdirectory(xz EXCLUDE_FROM_ALL)
|
# add_subdirectory(xz EXCLUDE_FROM_ALL)
|
||||||
target_include_directories(
|
# target_include_directories(
|
||||||
xz
|
# xz
|
||||||
PUBLIC ${CMAKE_CURRENT_BINARY_DIR}/xz
|
# PUBLIC ${CMAKE_CURRENT_BINARY_DIR}/xz
|
||||||
PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/xz
|
# PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/xz
|
||||||
)
|
# )
|
||||||
|
|
||||||
# leveldb
|
# leveldb
|
||||||
if(${BUILD_WITH_LEVELDB})
|
if(${BUILD_WITH_LEVELDB})
|
||||||
|
|
|
@ -54,6 +54,7 @@
|
||||||
#include "tlog.h"
|
#include "tlog.h"
|
||||||
// #include "tmsg.h"
|
// #include "tmsg.h"
|
||||||
|
|
||||||
|
#include "fast-lzma2.h"
|
||||||
#include "zlib.h"
|
#include "zlib.h"
|
||||||
#include "zstd.h"
|
#include "zstd.h"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue