forked from osmocom/wireshark
CMake: Remove unused variable
Change-Id: I05d5ac3112ee3b09d1935dde2073e65d55430946 Reviewed-on: https://code.wireshark.org/review/29501 Petri-Dish: João Valverde <j@v6e.pt> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
parent
2a1b05d0f3
commit
642f0c9f1d
|
@ -781,7 +781,6 @@ if(ENABLE_UBSAN)
|
|||
endif()
|
||||
|
||||
set(WERROR_COMMON_FLAGS "")
|
||||
set(NO_ERROR_DEPRECATED_DECLARATIONS_COMPILE_FLAGS "")
|
||||
if(NOT DISABLE_WERROR AND NOT ENABLE_EXTRA_COMPILER_WARNINGS)
|
||||
if(CMAKE_C_COMPILER_ID MATCHES "MSVC")
|
||||
set(WERROR_COMMON_FLAGS "/WX")
|
||||
|
@ -789,7 +788,6 @@ if(NOT DISABLE_WERROR AND NOT ENABLE_EXTRA_COMPILER_WARNINGS)
|
|||
check_c_compiler_flag(-Werror WERROR)
|
||||
if (WERROR)
|
||||
set(WERROR_COMMON_FLAGS "-Werror")
|
||||
set(NO_ERROR_DEPRECATED_DECLARATIONS_COMPILE_FLAGS "-Wno-error=deprecated-declarations")
|
||||
endif()
|
||||
endif()
|
||||
endif()
|
||||
|
|
Loading…
Reference in New Issue