From 58912143d4359a484233df1696a3db325700b6bc Mon Sep 17 00:00:00 2001 From: Shieldine <74987363+Shieldine@users.noreply.github.com> Date: Sat, 3 Aug 2024 23:17:13 +0200 Subject: [PATCH 1/2] fix build on macOS --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1107d9e..9e64407 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,6 +9,7 @@ endif() set (CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}) set (CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}) +set (CMAKE_CXX_STANDARD 20) include(GNUInstallDirs) From 4ca80d8c132b8656d0d3fb486a45eb05dbf2e4f0 Mon Sep 17 00:00:00 2001 From: Shieldine <74987363+Shieldine@users.noreply.github.com> Date: Sun, 4 Aug 2024 12:02:26 +0200 Subject: [PATCH 2/2] change cpp standard to 11 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9e64407..ea26059 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,7 +9,7 @@ endif() set (CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}) set (CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}) -set (CMAKE_CXX_STANDARD 20) +set (CMAKE_CXX_STANDARD 11) include(GNUInstallDirs)