diff --git a/CMakeLists.txt b/CMakeLists.txt index 61d607c..5aff4b4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -24,12 +24,8 @@ add_library(uno-game-lib src/client/PlayerAction.cpp src/ui/GameUI.cpp ) -target_link_libraries(uno-game-lib - PUBLIC nlohmann_json::nlohmann_json -) -target_link_libraries(uno-game-lib - PUBLIC asio::asio -) +target_link_libraries(uno-game-lib PUBLIC nlohmann_json::nlohmann_json) +target_link_libraries(uno-game-lib PUBLIC asio::asio) target_link_libraries(uno-game-lib PUBLIC Slint::Slint) slint_target_sources(uno-game-lib ui/MainWindow.slint) @@ -38,8 +34,7 @@ add_executable(uno-client src/client/main.cpp assets/uno.rc ) -target_link_libraries(uno-client - PRIVATE uno-game-lib) +target_link_libraries(uno-client PRIVATE uno-game-lib) if (WIN32 AND NOT CMAKE_BUILD_TYPE STREQUAL "Debug") set_target_properties(uno-client PROPERTIES WIN32_EXECUTABLE ON) @@ -49,10 +44,7 @@ add_executable(uno-server src/server/main.cpp assets/uno.rc ) -target_link_libraries(uno-server - PRIVATE uno-game-lib) -target_link_libraries(uno-server - PRIVATE argparse::argparse -) +target_link_libraries(uno-server PRIVATE uno-game-lib) +target_link_libraries(uno-server PRIVATE argparse::argparse) add_subdirectory(test) \ No newline at end of file