diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index cb5cf25..2e4ece5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
@@ -6,11 +6,20 @@ set(CMAKE_BUILD_TYPE Debug) | |||
6 | find_package(wxWidgets COMPONENTS core base) | 6 | find_package(wxWidgets COMPONENTS core base) |
7 | include(${wxWidgets_USE_FILE}) | 7 | include(${wxWidgets_USE_FILE}) |
8 | 8 | ||
9 | find_package(PkgConfig) | ||
10 | pkg_check_modules(yaml-cpp yaml-cpp REQUIRED) | ||
11 | |||
12 | include_directories( | ||
13 | vendor/hkutil | ||
14 | ${yaml-cpp_INCLUDE_DIRS} | ||
15 | ) | ||
16 | |||
9 | add_executable(lingo_ap_tracker | 17 | add_executable(lingo_ap_tracker |
10 | main.cpp | 18 | main.cpp |
11 | tracker_frame.cpp | 19 | tracker_frame.cpp |
12 | tracker_panel.cpp | 20 | tracker_panel.cpp |
21 | game_data.cpp | ||
13 | ) | 22 | ) |
14 | set_property(TARGET lingo_ap_tracker PROPERTY CXX_STANDARD 17) | 23 | set_property(TARGET lingo_ap_tracker PROPERTY CXX_STANDARD 17) |
15 | set_property(TARGET lingo_ap_tracker PROPERTY CXX_STANDARD_REQUIRED ON) | 24 | set_property(TARGET lingo_ap_tracker PROPERTY CXX_STANDARD_REQUIRED ON) |
16 | target_link_libraries(lingo_ap_tracker ${wxWidgets_LIBRARIES}) | 25 | target_link_libraries(lingo_ap_tracker ${wxWidgets_LIBRARIES} ${yaml-cpp_LIBRARIES}) |