Shut up MSVC's stupid warnings when using the CMake file
This commit is contained in:
parent
295673b813
commit
33254c87dd
1 changed files with 3 additions and 0 deletions
|
@ -306,6 +306,9 @@ if (MSVC)
|
||||||
if (NOT STDINT_EXISTS)
|
if (NOT STDINT_EXISTS)
|
||||||
target_include_directories(CSE2 PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/msvc/msvc2003")
|
target_include_directories(CSE2 PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/msvc/msvc2003")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
# Shut up those stupid warnings
|
||||||
|
target_compile_definitions(CSE2 PRIVATE _CRT_SECURE_NO_WARNINGS)
|
||||||
else()
|
else()
|
||||||
# Find dependencies
|
# Find dependencies
|
||||||
if (STATIC)
|
if (STATIC)
|
||||||
|
|
Loading…
Add table
Reference in a new issue