- fixed compilation with GCC and Clang

'fatal error: no input files' and '-ffast-math: not found'
This commit is contained in:
alexey.lysiuk 2019-09-23 12:25:30 +03:00
parent b3a9884eb1
commit 86e8d4711d
2 changed files with 2 additions and 2 deletions

View file

@ -8,7 +8,7 @@ if( ZD_CMAKE_COMPILER_IS_GNUC_COMPATIBLE )
set( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Wno-unused-parameter -fomit-frame-pointer" )
endif()
set (CMAKE_C_FLAGS ${CMAKE_C_FLAGS} ${ZD_FASTMATH_FLAG})
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${ZD_FASTMATH_FLAG}")
add_library( adl STATIC
adldata.cpp

View file

@ -12,7 +12,7 @@ if( ZD_CMAKE_COMPILER_IS_GNUC_COMPATIBLE )
set( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Wno-unused-parameter -fomit-frame-pointer" )
endif()
set (CMAKE_C_FLAGS ${CMAKE_C_FLAGS} ${ZD_FASTMATH_FLAG})
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${ZD_FASTMATH_FLAG}")
add_library( opn STATIC
chips/gens_opn2.cpp