Skip to content

Commit

Permalink
OSX: remove -DMAC_OS_X_VERSION_MAX_ALLOWED flag
Browse files Browse the repository at this point in the history
it doesn't work for a purpose I intended and actually interferes with weak linking
  • Loading branch information
parafin committed Dec 20, 2015
1 parent 7989ac6 commit d04f1aa
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,6 @@ if(APPLE)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D_DARWIN_C_SOURCE")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D_DARWIN_C_SOURCE")
add_definitions("-DOS_OBJECT_USE_OBJC=0")
# Make sure we don't use functions unavailable in OS X 10.6 and later (only works with system compiler, vanilla gcc from macports ignores this)
add_definitions("-D__MAC_OS_X_VERSION_MAX_ALLOWED=1060")
endif(APPLE)

if(CMAKE_COMPILER_IS_GNUCC)
Expand Down

0 comments on commit d04f1aa

Please sign in to comment.