1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-07 08:24:43 -04:00

Use Qt6.2 compatible qt_add_plugin in CMake

This commit is contained in:
Tammo Jan Dijkema
2026-04-25 17:11:41 +02:00
parent fc9887f50b
commit c86c178363
133 changed files with 266 additions and 133 deletions
@@ -46,7 +46,8 @@ endif()
if(NOT Qt6_FOUND)
add_library(${TARGET_NAME} ${testsource_SOURCES})
else()
qt_add_plugin(${TARGET_NAME} CLASS_NAME TestSourcePlugin ${testsource_SOURCES})
qt_add_plugin(${TARGET_NAME} CLASS_NAME TestSourcePlugin)
target_sources(${TARGET_NAME} PRIVATE ${testsource_SOURCES})
endif()
if(NOT BUILD_SHARED_LIBS)