Skip to content

Commit

Permalink
Updated to build with macOS Sonoma.
Browse files Browse the repository at this point in the history
  • Loading branch information
bdolinar authored and wdolinar committed Nov 19, 2023
1 parent e0bb89c commit f4fc0bb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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)

Expand All @@ -12,6 +12,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()
Expand Down

0 comments on commit f4fc0bb

Please sign in to comment.