Permalink
Browse files

Fixed compiler warning for MacOSX

  • Loading branch information...
Dimitri van Heesch
Dimitri van Heesch committed Sep 19, 2015
1 parent 29c5004 commit 0aa27346b8728f6698dd2b363959e89d02e03ff6
Showing with 1 addition and 0 deletions.
  1. +1 −0 CMakeLists.txt
@@ -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()

0 comments on commit 0aa2734

Please sign in to comment.