Skip to content

Commit

Permalink
Fixed compiler warning for MacOSX
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimitri van Heesch committed Sep 19, 2015
1 parent 29c5004 commit 0aa2734
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ endif()

if (${CMAKE_SYSTEM} MATCHES "Darwin")
set(CMAKE_CXX_FLAGS "-Wno-deprecated-register -mmacosx-version-min=10.5 ${CMAKE_CXX_FLAGS}")
set(CMAKE_C_FLAGS "-Wno-deprecated-register -mmacosx-version-min=10.5 ${CMAKE_C_FLAGS}")
find_library(CORESERVICES_LIB CoreServices)
set(EXTRA_LIBS ${CORESERVICES_LIB})
endif()
Expand Down

0 comments on commit 0aa2734

Please sign in to comment.