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 committed Nov 17, 2023
1 parent fcd6c86 commit c485bb4
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 @@ -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()
Expand Down

0 comments on commit c485bb4

Please sign in to comment.