mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-11-09 08:29:31 +01:00
$<$<COMPILE_LANGUAGE:C,CXX>:-Werror=missing-declarations>
This commit is contained in:
parent
f2cf3028c5
commit
6c1bb8d5c5
1 changed files with 3 additions and 0 deletions
|
|
@ -177,6 +177,9 @@ else()
|
||||||
$<$<COMPILE_LANGUAGE:C,CXX>:-Wno-invalid-offsetof>
|
$<$<COMPILE_LANGUAGE:C,CXX>:-Wno-invalid-offsetof>
|
||||||
$<$<COMPILE_LANGUAGE:C,CXX>:-Wno-unused-parameter>
|
$<$<COMPILE_LANGUAGE:C,CXX>:-Wno-unused-parameter>
|
||||||
$<$<COMPILE_LANGUAGE:C,CXX>:-Wno-missing-field-initializers>)
|
$<$<COMPILE_LANGUAGE:C,CXX>:-Wno-missing-field-initializers>)
|
||||||
|
if (NOT IOS)
|
||||||
|
add_compile_options($<$<COMPILE_LANGUAGE:C,CXX>:-Werror=missing-declarations>)
|
||||||
|
endif()
|
||||||
|
|
||||||
if (CXX_CLANG OR CXX_ICC OR CXX_APPLE) # Clang, AppleClang, or Intel C++
|
if (CXX_CLANG OR CXX_ICC OR CXX_APPLE) # Clang, AppleClang, or Intel C++
|
||||||
if (NOT MSVC)
|
if (NOT MSVC)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue