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.txt11
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)
6find_package(wxWidgets COMPONENTS core base) 6find_package(wxWidgets COMPONENTS core base)
7include(${wxWidgets_USE_FILE}) 7include(${wxWidgets_USE_FILE})
8 8
9find_package(PkgConfig)
10pkg_check_modules(yaml-cpp yaml-cpp REQUIRED)
11
12include_directories(
13 vendor/hkutil
14 ${yaml-cpp_INCLUDE_DIRS}
15)
16
9add_executable(lingo_ap_tracker 17add_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)
14set_property(TARGET lingo_ap_tracker PROPERTY CXX_STANDARD 17) 23set_property(TARGET lingo_ap_tracker PROPERTY CXX_STANDARD 17)
15set_property(TARGET lingo_ap_tracker PROPERTY CXX_STANDARD_REQUIRED ON) 24set_property(TARGET lingo_ap_tracker PROPERTY CXX_STANDARD_REQUIRED ON)
16target_link_libraries(lingo_ap_tracker ${wxWidgets_LIBRARIES}) 25target_link_libraries(lingo_ap_tracker ${wxWidgets_LIBRARIES} ${yaml-cpp_LIBRARIES})