mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-28 01:36:36 +00:00
Add option for -mfpmath=both flag
This commit is contained in:
parent
f4b55b8823
commit
51ff443521
1 changed files with 8 additions and 0 deletions
|
@ -327,6 +327,10 @@ MACRO(NL_SETUP_NEL_DEFAULT_OPTIONS)
|
||||||
|
|
||||||
OPTION(WITH_SSE2 "With SSE2" ON )
|
OPTION(WITH_SSE2 "With SSE2" ON )
|
||||||
OPTION(WITH_SSE3 "With SSE3" ON )
|
OPTION(WITH_SSE3 "With SSE3" ON )
|
||||||
|
|
||||||
|
IF(NOT MSVC)
|
||||||
|
OPTION(WITH_GCC_FPMATH_BOTH "With GCC -mfpmath=both" OFF)
|
||||||
|
ENDIF(NOT MSVC)
|
||||||
ENDMACRO(NL_SETUP_NEL_DEFAULT_OPTIONS)
|
ENDMACRO(NL_SETUP_NEL_DEFAULT_OPTIONS)
|
||||||
|
|
||||||
MACRO(NL_SETUP_NELNS_DEFAULT_OPTIONS)
|
MACRO(NL_SETUP_NELNS_DEFAULT_OPTIONS)
|
||||||
|
@ -621,6 +625,10 @@ MACRO(NL_SETUP_BUILD)
|
||||||
ADD_PLATFORM_FLAGS("-msse3")
|
ADD_PLATFORM_FLAGS("-msse3")
|
||||||
ENDIF(WITH_SSE3)
|
ENDIF(WITH_SSE3)
|
||||||
|
|
||||||
|
IF(WITH_GCC_FPMATH_BOTH)
|
||||||
|
ADD_PLATFORM_FLAGS("-mfpmath=both")
|
||||||
|
ENDIF(WITH_GCC_FPMATH_BOTH)
|
||||||
|
|
||||||
IF(APPLE)
|
IF(APPLE)
|
||||||
IF(NOT XCODE)
|
IF(NOT XCODE)
|
||||||
IF(CMAKE_OSX_ARCHITECTURES)
|
IF(CMAKE_OSX_ARCHITECTURES)
|
||||||
|
|
Loading…
Reference in a new issue