diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 7 |
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 | ||
4 | set(CMAKE_BUILD_TYPE Debug) | 4 | set(CMAKE_BUILD_TYPE Debug) |
5 | 5 | ||
6 | if (MSVC) | ||
7 | set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /bigobj") | ||
8 | set(CMAKE_WIN32_EXECUTABLE true) | ||
9 | endif(MSVC) | ||
10 | |||
6 | find_package(wxWidgets CONFIG REQUIRED) | 11 | find_package(wxWidgets CONFIG REQUIRED) |
7 | find_package(OpenSSL REQUIRED) | 12 | find_package(OpenSSL REQUIRED) |
8 | find_package(yaml-cpp REQUIRED) | 13 | find_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 | ) |
39 | set_property(TARGET lingo_ap_tracker PROPERTY CXX_STANDARD 17) | 44 | set_property(TARGET lingo_ap_tracker PROPERTY CXX_STANDARD 20) |
40 | set_property(TARGET lingo_ap_tracker PROPERTY CXX_STANDARD_REQUIRED ON) | 45 | set_property(TARGET lingo_ap_tracker PROPERTY CXX_STANDARD_REQUIRED ON) |
41 | target_link_libraries(lingo_ap_tracker PRIVATE OpenSSL::SSL OpenSSL::Crypto wx::core wx::base yaml-cpp) | 46 | target_link_libraries(lingo_ap_tracker PRIVATE OpenSSL::SSL OpenSSL::Crypto wx::core wx::base yaml-cpp) |