about summary refs log tree commit diff stats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt13
1 files changed, 12 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 6f089d9..89f3996 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt
@@ -8,12 +8,21 @@ include(${wxWidgets_USE_FILE})
8 8
9find_package(PkgConfig) 9find_package(PkgConfig)
10pkg_check_modules(yaml-cpp yaml-cpp REQUIRED) 10pkg_check_modules(yaml-cpp yaml-cpp REQUIRED)
11pkg_check_modules(openssl openssl REQUIRED)
11 12
12include_directories( 13include_directories(
13 vendor/hkutil 14 vendor/hkutil
15 vendor/apclientpp
16 vendor/asio/asio/include
17 vendor/nlohmann
18 vendor/valijson/include
19 vendor/websocketpp
20 vendor/wswrap/include
14 ${yaml-cpp_INCLUDE_DIRS} 21 ${yaml-cpp_INCLUDE_DIRS}
15) 22)
16 23
24link_directories(${openssl_LIBRARY_DIRS})
25
17add_executable(lingo_ap_tracker 26add_executable(lingo_ap_tracker
18 main.cpp 27 main.cpp
19 tracker_frame.cpp 28 tracker_frame.cpp
@@ -21,7 +30,9 @@ add_executable(lingo_ap_tracker
21 game_data.cpp 30 game_data.cpp
22 area_window.cpp 31 area_window.cpp
23 area_popup.cpp 32 area_popup.cpp
33 ap_state.cpp
34 connection_dialog.cpp
24) 35)
25set_property(TARGET lingo_ap_tracker PROPERTY CXX_STANDARD 17) 36set_property(TARGET lingo_ap_tracker PROPERTY CXX_STANDARD 17)
26set_property(TARGET lingo_ap_tracker PROPERTY CXX_STANDARD_REQUIRED ON) 37set_property(TARGET lingo_ap_tracker PROPERTY CXX_STANDARD_REQUIRED ON)
27target_link_libraries(lingo_ap_tracker ${wxWidgets_LIBRARIES} ${yaml-cpp_LIBRARIES}) 38target_link_libraries(lingo_ap_tracker ${wxWidgets_LIBRARIES} ${yaml-cpp_LIBRARIES} ${openssl_LIBRARIES})