diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 13 |
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 | ||
9 | find_package(PkgConfig) | 9 | find_package(PkgConfig) |
10 | pkg_check_modules(yaml-cpp yaml-cpp REQUIRED) | 10 | pkg_check_modules(yaml-cpp yaml-cpp REQUIRED) |
11 | pkg_check_modules(openssl openssl REQUIRED) | ||
11 | 12 | ||
12 | include_directories( | 13 | include_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 | ||
24 | link_directories(${openssl_LIBRARY_DIRS}) | ||
25 | |||
17 | add_executable(lingo_ap_tracker | 26 | add_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 | ) |
25 | set_property(TARGET lingo_ap_tracker PROPERTY CXX_STANDARD 17) | 36 | set_property(TARGET lingo_ap_tracker PROPERTY CXX_STANDARD 17) |
26 | set_property(TARGET lingo_ap_tracker PROPERTY CXX_STANDARD_REQUIRED ON) | 37 | set_property(TARGET lingo_ap_tracker PROPERTY CXX_STANDARD_REQUIRED ON) |
27 | target_link_libraries(lingo_ap_tracker ${wxWidgets_LIBRARIES} ${yaml-cpp_LIBRARIES}) | 38 | target_link_libraries(lingo_ap_tracker ${wxWidgets_LIBRARIES} ${yaml-cpp_LIBRARIES} ${openssl_LIBRARIES}) |