mirror of
https://github.com/Xaymar/obs-StreamFX
synced 2024-11-30 15:23:01 +00:00
cmake: MSVC should always show all warnings
This commit is contained in:
parent
afdf18b33b
commit
85bc910e6a
1 changed files with 10 additions and 10 deletions
|
@ -131,6 +131,7 @@ else()
|
||||||
"${PATH_OBSStudio}"
|
"${PATH_OBSStudio}"
|
||||||
)
|
)
|
||||||
add_definitions(-D_CRT_SECURE_NO_WARNINGS)
|
add_definitions(-D_CRT_SECURE_NO_WARNINGS)
|
||||||
|
endif()
|
||||||
|
|
||||||
# All Warnings, Extra Warnings, Pedantic
|
# All Warnings, Extra Warnings, Pedantic
|
||||||
if(MSVC)
|
if(MSVC)
|
||||||
|
@ -144,7 +145,6 @@ else()
|
||||||
# Update if necessary
|
# Update if necessary
|
||||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wno-long-long -pedantic")
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wno-long-long -pedantic")
|
||||||
endif()
|
endif()
|
||||||
endif()
|
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
# Build
|
# Build
|
||||||
|
|
Loading…
Reference in a new issue