We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd851ce commit 49d7831Copy full SHA for 49d7831
3rdparty/openal/CMakeLists.txt
@@ -299,14 +299,6 @@ else()
299
set(C_FLAGS ${C_FLAGS} -Werror)
300
endif()
301
302
- # We want RelWithDebInfo to actually include debug stuff (define _DEBUG
303
- # instead of NDEBUG)
304
- foreach(flag_var CMAKE_C_FLAGS_RELWITHDEBINFO CMAKE_CXX_FLAGS_RELWITHDEBINFO)
305
- if(${flag_var} MATCHES "-DNDEBUG")
306
- string(REGEX REPLACE "-DNDEBUG" "-D_DEBUG" ${flag_var} "${${flag_var}}")
307
- endif()
308
- endforeach()
309
-
310
check_c_compiler_flag(-fno-math-errno HAVE_FNO_MATH_ERRNO)
311
if(HAVE_FNO_MATH_ERRNO)
312
set(C_FLAGS ${C_FLAGS} -fno-math-errno)
0 commit comments