mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-28 23:11:58 +00:00
Fixed OS X compilation after floating point merge
Header files from Carbon framework caused a few symbol conflicts
This commit is contained in:
parent
a827bab576
commit
daa112e2ac
1 changed files with 6 additions and 0 deletions
|
@ -169,6 +169,12 @@ else()
|
|||
set( FMOD_INC_PATH_SUFFIXES PATH_SUFFIXES inc )
|
||||
set( FMOD_LIB_PATH_SUFFIXES PATH_SUFFIXES lib )
|
||||
set( NO_GTK ON )
|
||||
|
||||
# Prevent inclusion of fp.h and FixMath.h from Carbon framework
|
||||
# Declarations from these files are not used but cause the following conflicts:
|
||||
# - redefinition of 'FixedToFloat' and 'FloatToFixed' macros
|
||||
# - redefinition of 'pi' as different kind of symbol
|
||||
add_definitions( -D__FP__ -D__FIXMATH__ )
|
||||
else()
|
||||
option( NO_GTK "Disable GTK+ dialogs (Not applicable to Windows)" )
|
||||
option( VALGRIND "Add special Valgrind sequences to self-modifying code" )
|
||||
|
|
Loading…
Reference in a new issue