mirror of
https://github.com/FWGS/hlsdk-xash3d
synced 2025-01-18 07:51:56 +01:00
Add warning checks
This commit is contained in:
parent
745d722a5a
commit
413e2c941e
@ -86,6 +86,11 @@ if(${CMAKE_VERSION} VERSION_LESS "3.0.2")
|
||||
endmacro()
|
||||
endif()
|
||||
|
||||
if(NOT MSVC)
|
||||
add_compile_options(-Wempty-body) # GCC/Clang flag
|
||||
add_compile_options(-Wreturn-type) # GCC/Clang flag
|
||||
endif()
|
||||
|
||||
if(BUILD_CLIENT)
|
||||
add_subdirectory(cl_dll)
|
||||
endif()
|
||||
|
Loading…
x
Reference in New Issue
Block a user