From 13a9a808805673846a7803a3b3ef9542836a686b Mon Sep 17 00:00:00 2001 From: Cekis Date: Sat, 27 Nov 2021 12:14:31 -0500 Subject: [PATCH] Reverted udplibrary changes in CMake files. --- src/stationapi/CMakeLists.txt | 34 +++++++++++++++++----------------- src/stationchat/CMakeLists.txt | 1 + 2 files changed, 18 insertions(+), 17 deletions(-) diff --git a/src/stationapi/CMakeLists.txt b/src/stationapi/CMakeLists.txt index b04caea..9503000 100644 --- a/src/stationapi/CMakeLists.txt +++ b/src/stationapi/CMakeLists.txt @@ -1,19 +1,19 @@ -add_library( - stationapi - Node.hpp - NodeClient.cpp - NodeClient.hpp - Serialization.hpp - SQLite3.hpp - StreamUtils.cpp - StreamUtils.hpp - StringUtils.cpp - StringUtils.hpp) -target_include_directories( - stationapi - PUBLIC ${CMAKE_CURRENT_SOURCE_DIR} ${PROJECT_SOURCE_DIR}/externals/catch - ${PROJECT_SOURCE_DIR}/externals/easyloggingpp ${Boost_INCLUDE_DIRS} - ${SQLite3_INCLUDE_DIR}) +add_library(stationapi + Node.hpp + NodeClient.cpp + NodeClient.hpp + Serialization.hpp + SQLite3.hpp + StreamUtils.cpp + StreamUtils.hpp + StringUtils.cpp + StringUtils.hpp) -target_link_libraries(stationapi udplibrary) +target_include_directories(stationapi PUBLIC + ${CMAKE_CURRENT_SOURCE_DIR} + ${PROJECT_SOURCE_DIR}/externals/catch + ${PROJECT_SOURCE_DIR}/externals/easyloggingpp + ${PROJECT_SOURCE_DIR}/externals/udplibrary + ${Boost_INCLUDE_DIRS} + ${SQLite3_INCLUDE_DIR}) \ No newline at end of file diff --git a/src/stationchat/CMakeLists.txt b/src/stationchat/CMakeLists.txt index e594d09..c2796dc 100644 --- a/src/stationchat/CMakeLists.txt +++ b/src/stationchat/CMakeLists.txt @@ -65,6 +65,7 @@ add_executable( # cmake-format: off target_link_libraries(stationchat stationapi + udplibrary ${Boost_LIBRARIES} ${SQLite3_LIBRARY} $<$:ws2_32>)