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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user