Browse Source

Merge pull request #94 from FreeSlave/return

Add warning checks
half-secret
Andrey Akhmichin 5 years ago committed by GitHub
parent
commit
0fc86e36c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      CMakeLists.txt

5
CMakeLists.txt

@ -86,6 +86,11 @@ if(${CMAKE_VERSION} VERSION_LESS "3.0.2")
endmacro() endmacro()
endif() endif()
if(NOT MSVC)
add_compile_options(-Wempty-body) # GCC/Clang flag
add_compile_options(-Wreturn-type) # GCC/Clang flag
endif()
if(BUILD_CLIENT) if(BUILD_CLIENT)
add_subdirectory(cl_dll) add_subdirectory(cl_dll)
endif() endif()

Loading…
Cancel
Save