mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-01-11 15:38:12 +00:00
Silence useless warning on Windows (#183)
This commit is contained in:
parent
662af50306
commit
7552c1df5e
@ -93,6 +93,8 @@ endif()
|
||||
if(NOT MSVC)
|
||||
#add_compile_options(-Wempty-body) # GCC/Clang flag
|
||||
add_compile_options(-Wreturn-type) # GCC/Clang flag
|
||||
else()
|
||||
add_definitions(-D_CRT_SILENCE_NONCONFORMING_TGMATH_H)
|
||||
endif()
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user