Skip to content

Commit

Permalink
Updated for macos clang 15.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
bdolinar committed Nov 17, 2023
1 parent f1220e6 commit b37dcb6
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 @@ -15,6 +15,7 @@ project(xmscorelib C CXX)

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 b37dcb6

Please sign in to comment.