From 254c442a69621c0671d83f9d3cc8c8d612233557 Mon Sep 17 00:00:00 2001 From: Jonas Kvinge Date: Mon, 23 Sep 2024 23:33:22 +0200 Subject: [PATCH] kdsingleapplication: Add -Wno-missing-declarations --- 3rdparty/kdsingleapplication/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/3rdparty/kdsingleapplication/CMakeLists.txt b/3rdparty/kdsingleapplication/CMakeLists.txt index 5f2828307..abc6e786b 100644 --- a/3rdparty/kdsingleapplication/CMakeLists.txt +++ b/3rdparty/kdsingleapplication/CMakeLists.txt @@ -3,6 +3,7 @@ set(SOURCES KDSingleApplication/src/kdsingleapplication.cpp KDSingleApplication/ set(HEADERS KDSingleApplication/src/kdsingleapplication.h KDSingleApplication/src/kdsingleapplication_localsocket_p.h) qt_wrap_cpp(MOC ${HEADERS}) add_library(kdsingleapplication STATIC ${SOURCES} ${MOC}) +target_compile_options(kdsingleapplication PRIVATE -Wno-missing-declarations) target_compile_definitions(kdsingleapplication PRIVATE -DKDSINGLEAPPLICATION_STATIC_BUILD) target_include_directories(kdsingleapplication PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}) target_link_libraries(kdsingleapplication PUBLIC Qt${QT_VERSION_MAJOR}::Core Qt${QT_VERSION_MAJOR}::Network)