mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-11 15:22:16 +00:00
Fixed compilation of drawergen on macOS
This commit is contained in:
parent
8433c37e47
commit
d837f9ab93
1 changed files with 5 additions and 0 deletions
|
@ -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 )
|
||||
|
|
Loading…
Reference in a new issue