From 704c08bb439b9a90f7be2d26a0c8b01777e2cf2c Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Tue, 2 May 2023 00:24:09 -0400 Subject: Started reading in game data yaml --- CMakeLists.txt | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'CMakeLists.txt') 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) find_package(wxWidgets COMPONENTS core base) include(${wxWidgets_USE_FILE}) +find_package(PkgConfig) +pkg_check_modules(yaml-cpp yaml-cpp REQUIRED) + +include_directories( + vendor/hkutil + ${yaml-cpp_INCLUDE_DIRS} +) + add_executable(lingo_ap_tracker main.cpp tracker_frame.cpp tracker_panel.cpp + game_data.cpp ) set_property(TARGET lingo_ap_tracker PROPERTY CXX_STANDARD 17) set_property(TARGET lingo_ap_tracker PROPERTY CXX_STANDARD_REQUIRED ON) -target_link_libraries(lingo_ap_tracker ${wxWidgets_LIBRARIES}) +target_link_libraries(lingo_ap_tracker ${wxWidgets_LIBRARIES} ${yaml-cpp_LIBRARIES}) -- cgit 1.4.1