Skip to content

Commit 726e9fd

Browse files
committed
SPDLOG_FMT_EXTERNAL for the binary, bump to 1.1.0
1 parent 82e4bff commit 726e9fd

4 files changed

Lines changed: 7 additions & 5 deletions

File tree

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cmake_minimum_required(VERSION 3.22)
22

3-
project(xx-root VERSION 1.0.0 LANGUAGES CXX)
3+
project(xx-root LANGUAGES CXX)
44

55
option(BUILD_TESTS "Build tests" OFF)
66
option(ENABLE_SANITIZERS "Enable sanitizers" OFF)

xx-lib/CMakeLists.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,10 @@ add_library(xx-lib ${SOURCES})
4545
target_compile_features(xx-lib PUBLIC cxx_std_23)
4646
target_include_directories(xx-lib PRIVATE include ${LUA_INCLUDE_DIR})
4747
target_link_libraries(xx-lib PRIVATE
48+
spdlog::spdlog
4849
cpr::cpr
4950
nlohmann_json::nlohmann_json
5051
yaml-cpp::yaml-cpp
5152
pantor::inja
5253
${LUA_LIBRARIES}
5354
)
54-
target_link_libraries(xx-lib PUBLIC
55-
spdlog::spdlog
56-
)

xx-lib/include/xxlib.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
namespace xxlib {
77
[[nodiscard]] inline std::string version() {
8-
return "1.0.0";
8+
return "1.1.0";
99
}
1010
} // namespace xxlib
1111

xx/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@ cmake_minimum_required(VERSION 3.22)
22

33
project(xx LANGUAGES CXX)
44

5+
set(SPDLOG_FMT_EXTERNAL ON)
6+
57
find_package(CLI11 CONFIG REQUIRED)
8+
find_package(spdlog CONFIG REQUIRED)
69
find_package(semver CONFIG REQUIRED)
710

811
set(SOURCES
@@ -18,5 +21,6 @@ target_include_directories(xx PRIVATE
1821
target_link_libraries(xx PRIVATE
1922
xx-lib
2023
CLI11::CLI11
24+
spdlog::spdlog
2125
semver::semver
2226
)

0 commit comments

Comments
 (0)