diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index a6f6342..f9f1117 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
@@ -10,6 +10,7 @@ find_package(wxWidgets CONFIG REQUIRED) | |||
10 | find_package(OpenSSL REQUIRED) | 10 | find_package(OpenSSL REQUIRED) |
11 | find_package(yaml-cpp REQUIRED) | 11 | find_package(yaml-cpp REQUIRED) |
12 | find_package(websocketpp REQUIRED) | 12 | find_package(websocketpp REQUIRED) |
13 | find_package(fmt REQUIRED) | ||
13 | 14 | ||
14 | include_directories( | 15 | include_directories( |
15 | vendor/hkutil | 16 | vendor/hkutil |
@@ -22,6 +23,8 @@ include_directories( | |||
22 | ${yaml-cpp_INCLUDE_DIRS} | 23 | ${yaml-cpp_INCLUDE_DIRS} |
23 | ${OpenSSL_INCLUDE_DIRS} | 24 | ${OpenSSL_INCLUDE_DIRS} |
24 | vendor/whereami | 25 | vendor/whereami |
26 | ${fmt_INCLUDE_DIRS} | ||
27 | vendor | ||
25 | ) | 28 | ) |
26 | 29 | ||
27 | find_path(SYSTEM_INCLUDE_DIR zlib.h) | 30 | find_path(SYSTEM_INCLUDE_DIR zlib.h) |
@@ -39,12 +42,14 @@ add_executable(lingo_ap_tracker | |||
39 | "src/connection_dialog.cpp" | 42 | "src/connection_dialog.cpp" |
40 | "src/tracker_state.cpp" | 43 | "src/tracker_state.cpp" |
41 | "src/tracker_config.cpp" | 44 | "src/tracker_config.cpp" |
42 | "src/logger.cpp" | ||
43 | "src/achievements_pane.cpp" | 45 | "src/achievements_pane.cpp" |
44 | "src/settings_dialog.cpp" | 46 | "src/settings_dialog.cpp" |
45 | "src/global.cpp" | 47 | "src/global.cpp" |
48 | "src/subway_map.cpp" | ||
49 | "src/network_set.cpp" | ||
50 | "src/logger.cpp" | ||
46 | "vendor/whereami/whereami.c" | 51 | "vendor/whereami/whereami.c" |
47 | ) | 52 | ) |
48 | set_property(TARGET lingo_ap_tracker PROPERTY CXX_STANDARD 20) | 53 | set_property(TARGET lingo_ap_tracker PROPERTY CXX_STANDARD 20) |
49 | set_property(TARGET lingo_ap_tracker PROPERTY CXX_STANDARD_REQUIRED ON) | 54 | set_property(TARGET lingo_ap_tracker PROPERTY CXX_STANDARD_REQUIRED ON) |
50 | target_link_libraries(lingo_ap_tracker PRIVATE OpenSSL::SSL OpenSSL::Crypto websocketpp::websocketpp wx::core wx::base wx::net yaml-cpp::yaml-cpp) | 55 | target_link_libraries(lingo_ap_tracker PRIVATE fmt::fmt OpenSSL::SSL OpenSSL::Crypto websocketpp::websocketpp wx::core wx::base wx::net yaml-cpp::yaml-cpp) |