Skip to content

Commit 89d3067

Browse files
committed
fixed case sensitive for boost, use header only lib for spdlog
1 parent 7e31c2a commit 89d3067

5 files changed

Lines changed: 7 additions & 7 deletions

File tree

src/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,6 @@ TARGET_LINK_LIBRARIES(
4242
project_warnings
4343
docopt_s
4444
fmt::fmt-header-only
45-
spdlog::spdlog)
45+
spdlog::spdlog_header_only)
4646

4747
TARGET_INCLUDE_DIRECTORIES(intro PRIVATE ${CMAKE_BINARY_DIR}/generated)

src/boost.beast/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
FIND_PACKAGE(Threads)
22
FIND_PACKAGE(fmt REQUIRED)
33
FIND_PACKAGE(nlohmann_json REQUIRED)
4-
FIND_PACKAGE(boost REQUIRED)
4+
FIND_PACKAGE(Boost REQUIRED)
55

66
ADD_EXECUTABLE(test_boost_beast main.cpp)
7-
TARGET_LINK_LIBRARIES(test_boost_beast PRIVATE ${CMAKE_THREAD_LIBS_INIT} boost::boost nlohmann_json::nlohmann_json fmt::fmt-header-only)
7+
TARGET_LINK_LIBRARIES(test_boost_beast PRIVATE ${CMAKE_THREAD_LIBS_INIT} Boost::boost nlohmann_json::nlohmann_json fmt::fmt-header-only)

src/crow/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ FIND_PACKAGE(Crow REQUIRED)
22
FIND_PACKAGE(spdlog REQUIRED)
33

44
ADD_EXECUTABLE(test_crow main.cpp)
5-
TARGET_LINK_LIBRARIES(test_crow PRIVATE Crow::Crow spdlog::spdlog)
5+
TARGET_LINK_LIBRARIES(test_crow PRIVATE Crow::Crow spdlog::spdlog_header_only)

src/protobuf.cppzmq/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ ADD_EXECUTABLE(test_cppzmq_proto_client client/main.cpp ${PROTO_SRCS} ${PROTO_HD
1111
TARGET_INCLUDE_DIRECTORIES(test_cppzmq_proto_server PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/common)
1212
TARGET_INCLUDE_DIRECTORIES(test_cppzmq_proto_client PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/common)
1313

14-
TARGET_LINK_LIBRARIES(test_cppzmq_proto_server PRIVATE spdlog::spdlog cppzmq::cppzmq protobuf::protobuf)
15-
TARGET_LINK_LIBRARIES(test_cppzmq_proto_client PRIVATE spdlog::spdlog cppzmq::cppzmq protobuf::protobuf)
14+
TARGET_LINK_LIBRARIES(test_cppzmq_proto_server PRIVATE spdlog::spdlog_header_only cppzmq::cppzmq protobuf::protobuf)
15+
TARGET_LINK_LIBRARIES(test_cppzmq_proto_client PRIVATE spdlog::spdlog_header_only cppzmq::cppzmq protobuf::protobuf)

src/sml/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ FIND_PACKAGE(sml REQUIRED)
22
FIND_PACKAGE(spdlog REQUIRED)
33

44
ADD_EXECUTABLE(test_sml main.cpp logger.h states.h events.h plantumlDump.h actions.h)
5-
TARGET_LINK_LIBRARIES(test_sml PRIVATE sml::sml spdlog::spdlog)
5+
TARGET_LINK_LIBRARIES(test_sml PRIVATE sml::sml spdlog::spdlog_header_only)

0 commit comments

Comments
 (0)