diff --git a/CMakeLists.txt b/CMakeLists.txt index ba49578..e9a2cb3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -40,14 +40,10 @@ else() if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin") add_compile_options( - -force_cpusubtype_ALL -mmacosx-version-min=10.7 - -stdlib=libc++ ) add_link_options( - -force_cpusubtype_ALL -mmacosx-version-min=10.7 - -stdlib=libc++ "SHELL:-framework CoreFoundation" "SHELL:-framework CoreServices" ) diff --git a/Makefile b/Makefile index 7c4a132..6720809 100644 --- a/Makefile +++ b/Makefile @@ -16,8 +16,7 @@ CCFLAGS+=-DUSE_NEON endif ifeq ($(shell uname),Darwin) -CCFLAGS+=-force_cpusubtype_ALL -mmacosx-version-min=10.7 -CXXFLAGS+=-stdlib=libc++ +CCFLAGS+=-mmacosx-version-min=10.7 LDFLAGS+=-mmacosx-version-min=10.7 LDFLAGS+=-framework CoreFoundation -framework CoreServices else