try to build osx version

This commit is contained in:
asquelt 2017-04-06 17:42:51 +02:00
parent f2db5a8229
commit 83d069e4d9

View File

@ -126,9 +126,3 @@ endif()
# --- End of section ---
# TODO : OS X build settings and tasks
if(CMAKE_COMPILER_IS_GNUCC OR CMAKE_COMPILER_IS_GNUCXX OR CMAKE_COMPILER_IS_CLANG)
option(USE_LIBC++ "Use libc++ instead of libstdc++" ${APPLE})
if(USE_LIBC++)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libc++")
endif()
endif()