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.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 6d9a111..fea5d7d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt
@@ -3,6 +3,11 @@ project (lingo_ap_tracker)
3 3
4set(CMAKE_BUILD_TYPE Debug) 4set(CMAKE_BUILD_TYPE Debug)
5 5
6if (MSVC)
7set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /bigobj")
8set(CMAKE_WIN32_EXECUTABLE true)
9endif(MSVC)
10
6find_package(wxWidgets CONFIG REQUIRED) 11find_package(wxWidgets CONFIG REQUIRED)
7find_package(OpenSSL REQUIRED) 12find_package(OpenSSL REQUIRED)
8find_package(yaml-cpp REQUIRED) 13find_package(yaml-cpp REQUIRED)
@@ -36,6 +41,6 @@ add_executable(lingo_ap_tracker
36 eye_indicator.cpp 41 eye_indicator.cpp
37 tracker_state.cpp 42 tracker_state.cpp
38) 43)
39set_property(TARGET lingo_ap_tracker PROPERTY CXX_STANDARD 17) 44set_property(TARGET lingo_ap_tracker PROPERTY CXX_STANDARD 20)
40set_property(TARGET lingo_ap_tracker PROPERTY CXX_STANDARD_REQUIRED ON) 45set_property(TARGET lingo_ap_tracker PROPERTY CXX_STANDARD_REQUIRED ON)
41target_link_libraries(lingo_ap_tracker PRIVATE OpenSSL::SSL OpenSSL::Crypto wx::core wx::base yaml-cpp) 46target_link_libraries(lingo_ap_tracker PRIVATE OpenSSL::SSL OpenSSL::Crypto wx::core wx::base yaml-cpp)