1
0
mirror of https://github.com/strawberrymusicplayer/strawberry synced 2025-01-08 14:21:30 +01:00

kdsingleapplication: Add -Wno-missing-declarations

This commit is contained in:
Jonas Kvinge 2024-09-23 23:33:22 +02:00
parent 0568c47a37
commit 254c442a69

View File

@ -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)