feat remove sqlpp11
Some checks failed
rpcrypto-build / build (Debug, hisiv510.toolchain.cmake) (push) Successful in 1m3s
rpcrypto-build / build (Release, himix200.toolchain.cmake) (push) Successful in 57s
rpcrypto-build / build (Release, hisiv510.toolchain.cmake) (push) Successful in 57s
rpcrypto-build / build (Debug, himix200.toolchain.cmake) (push) Successful in 14m41s
linux-mips64-gcc / linux-gcc-mips64el (push) Failing after 2m3s
linux-x64-gcc / linux-gcc (push) Failing after 1m37s
linux-hisiv500-gcc / linux-gcc-hisiv500 (push) Failing after 40m35s

This commit is contained in:
tqcq 2024-03-21 11:11:01 +08:00
parent fc85ca4d2e
commit 27652b8956

View File

@ -80,7 +80,7 @@ set(FMT_USE_CPP11
OFF
CACHE BOOL "Use C++11" FORCE)
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/3party/fmt)
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/3party/sqlpp11)
# add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/3party/sqlpp11)
set(JSONCPP_WITH_TESTS OFF)
set(JSONCPP_WITH_POST_BUILD_UNITTEST OFF)
@ -93,7 +93,8 @@ target_sources(
${PROJECT_NAME} PRIVATE src/ulib/empty.cpp src/ulib/log/logger.cpp
src/ulib/log/log.cpp src/ulib/log/level.cpp)
target_link_libraries(${PROJECT_NAME} PUBLIC fmt::fmt jsoncpp_static
sqlpp11::sqlpp11)
#sqlpp11::sqlpp11
)
target_compile_definitions(${PROJECT_NAME} PRIVATE ULIB_LIBRARY_IMPL)
target_include_directories(
${PROJECT_NAME}