Disable -Wextra when building libcef_dll_wrapper

If it is enabled (e.g. globally because the application using wxWidgets
as a submodule enables it), it would result in a harmless warning about
not calling the base class ctor in base/cef_callback_internal.cpp.
This commit is contained in:
Vadim Zeitlin 2023-12-29 23:30:14 +01:00
parent 8a931de85d
commit 26025e2652

View file

@ -65,6 +65,7 @@ endif()
add_subdirectory(${CEF_ROOT} ${CEF_BUILD_DIR} EXCLUDE_FROM_ALL) add_subdirectory(${CEF_ROOT} ${CEF_BUILD_DIR} EXCLUDE_FROM_ALL)
set_target_properties(libcef_dll_wrapper PROPERTIES set_target_properties(libcef_dll_wrapper PROPERTIES
FOLDER "Third Party Libraries" FOLDER "Third Party Libraries"
COMPILE_FLAGS "-Wno-extra"
OUTPUT_NAME "libcef_dll_wrapper${lib_rls}" OUTPUT_NAME "libcef_dll_wrapper${lib_rls}"
OUTPUT_NAME_DEBUG "libcef_dll_wrapper${lib_dbg}" OUTPUT_NAME_DEBUG "libcef_dll_wrapper${lib_dbg}"
) )