Remove fmt dependency
This commit is contained in:
parent
a46e8d89c9
commit
8efdf7b6fe
4 changed files with 10 additions and 12 deletions
|
@ -7,7 +7,7 @@ find_package(SQLite3 REQUIRED)
|
|||
set(THREADS_PREFER_PTHREAD_FLAG ON)
|
||||
find_package(Threads REQUIRED)
|
||||
|
||||
find_package(fmt)
|
||||
#find_package(fmt)
|
||||
|
||||
set(CORE_SOURCES
|
||||
database.cpp
|
||||
|
@ -27,10 +27,10 @@ set(CORE_SOURCES
|
|||
add_library(core STATIC ${CORE_SOURCES})
|
||||
target_include_directories(core PRIVATE ${PROJECT_SOURCE_DIR}/subprojects/csv-parser/single_include)
|
||||
if (WIN32)
|
||||
target_link_libraries(core PRIVATE sqlite3 nlohmann_json::nlohmann_json Threads::Threads fmt::fmt)
|
||||
target_link_libraries(core PRIVATE sqlite3 nlohmann_json::nlohmann_json Threads::Threads)
|
||||
target_link_libraries(core PRIVATE bcrypt)
|
||||
else()
|
||||
target_link_libraries(core PRIVATE sqlite3 nlohmann_json::nlohmann_json Threads::Threads fmt::fmt)
|
||||
target_link_libraries(core PRIVATE sqlite3 nlohmann_json::nlohmann_json Threads::Threads)
|
||||
endif()
|
||||
|
||||
target_include_directories(core PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/..)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue