Fixed compilation of drawergen on macOS

This commit is contained in:
alexey.lysiuk 2016-11-29 22:25:13 +02:00
parent 8433c37e47
commit d837f9ab93

View file

@ -92,6 +92,11 @@ if( ZD_CMAKE_COMPILER_IS_GNUCXX_COMPATIBLE )
endif ()
endif ()
endif ()
if ( APPLE AND CMAKE_CXX_COMPILER_ID STREQUAL "Clang" )
set( CMAKE_CXX_FLAGS "-stdlib=libc++ ${CMAKE_CXX_FLAGS}" )
set( CMAKE_EXE_LINKER_FLAGS "-stdlib=libc++ ${CMAKE_EXE_LINKER_FLAGS}" )
endif ()
endif()
if( WIN32 )