From c485bb418e67df9978aff0f5b9a605a54bd68c8c Mon Sep 17 00:00:00 2001 From: Bill Dolinar Date: Fri, 17 Nov 2023 16:38:48 -0700 Subject: [PATCH] Updated to build with macOS Sonoma. --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2e5fb4e9..e6f83203 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.1.2) +cmake_minimum_required(VERSION 3.11.0) cmake_policy(SET CMP0015 NEW) # Link Directory Pathing set(CMAKE_DEBUG_POSTFIX _d) @@ -23,6 +23,7 @@ endif() if (APPLE) set(CMAKE_POSITION_INDEPENDENT_CODE False) + add_compile_definitions(_LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION) else() set(CMAKE_POSITION_INDEPENDENT_CODE True) endif()