diff options
| author | Dennis Brentjes <d.brentjes@gmail.com> | 2021-01-25 23:23:04 +0100 |
|---|---|---|
| committer | Dennis Brentjes <d.brentjes@gmail.com> | 2021-01-25 23:23:04 +0100 |
| commit | 3cb35ec664734cfe04bf788b3a9c11402fd0f878 (patch) | |
| tree | eca552aab9a8cf6c7efd11830581fbc52855d9f1 /CMakeLists.txt | |
| parent | 90c2782d0b78d64a19e7236c7dd6d8cc7a2e8396 (diff) | |
| download | openwar-3cb35ec664734cfe04bf788b3a9c11402fd0f878.tar.gz openwar-3cb35ec664734cfe04bf788b3a9c11402fd0f878.tar.bz2 openwar-3cb35ec664734cfe04bf788b3a9c11402fd0f878.zip | |
Fixes the build for c++20 and new version of boost
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index eeac074..7406478 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -5,6 +5,9 @@ list(APPEND CMAKE_PREFIX_PATH ${CMAKE_CURRENT_SOURCE_DIR}/CMakeModules) project(openwar) +set(CMAKE_CXX_STANDARD 20) +set(CMAKE_CXX_STANDARD_REQUIRED ON) + include(sanitizers) add_subdirectory(fusion-utils) @@ -13,3 +16,4 @@ add_subdirectory(mz) add_subdirectory(le) add_subdirectory(disasm) add_subdirectory(emulate) +add_subdirectory(run) |
