From 10d6eff4dc1ab7a79920721c0fe2ed371d7dfaf3 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Tue, 27 Feb 2024 16:32:32 -0500 Subject: Fix websocketpp on gcc --- CMakeLists.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index d82919a..a6f6342 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,6 +9,7 @@ endif(MSVC) find_package(wxWidgets CONFIG REQUIRED) find_package(OpenSSL REQUIRED) find_package(yaml-cpp REQUIRED) +find_package(websocketpp REQUIRED) include_directories( vendor/hkutil @@ -16,7 +17,7 @@ include_directories( vendor/asio/asio/include vendor/nlohmann vendor/valijson/include - vendor/websocketpp + ${websocketpp_INCLUDE_DIRS} vendor/wswrap/include ${yaml-cpp_INCLUDE_DIRS} ${OpenSSL_INCLUDE_DIRS} @@ -46,4 +47,4 @@ add_executable(lingo_ap_tracker ) set_property(TARGET lingo_ap_tracker PROPERTY CXX_STANDARD 20) set_property(TARGET lingo_ap_tracker PROPERTY CXX_STANDARD_REQUIRED ON) -target_link_libraries(lingo_ap_tracker PRIVATE OpenSSL::SSL OpenSSL::Crypto wx::core wx::base wx::net yaml-cpp) +target_link_libraries(lingo_ap_tracker PRIVATE OpenSSL::SSL OpenSSL::Crypto websocketpp::websocketpp wx::core wx::base wx::net yaml-cpp::yaml-cpp) -- cgit 1.4.1