diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2023-05-03 01:29:41 -0400 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2023-05-03 01:29:41 -0400 |
commit | 47e59ea969c775bea316b1a910c845a7c8482091 (patch) | |
tree | 0cc5e900ba213a1aeb81cb95722a8def13c71c6b /CMakeLists.txt | |
parent | 1af4d354fbbded3b8086e370b6f4c20d084a5d68 (diff) | |
download | lingo-ap-tracker-47e59ea969c775bea316b1a910c845a7c8482091.tar.gz lingo-ap-tracker-47e59ea969c775bea316b1a910c845a7c8482091.tar.bz2 lingo-ap-tracker-47e59ea969c775bea316b1a910c845a7c8482091.zip |
Changes to get it to compile on Windows
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) |