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

Update CMakeLists.txt to support both Qt5 and Qt6. Add option ENABLE_QT6

This commit is contained in:
Jon Beniston
2022-11-17 14:34:54 +00:00
parent 006e23d7b7
commit fc7c9c1fc8
126 changed files with 355 additions and 291 deletions
@@ -35,7 +35,7 @@ if(NOT SERVER_MODE)
)
set(TARGET_NAME inputfcdproplus)
set(TARGET_LIB "Qt5::Widgets")
set(TARGET_LIB "Qt::Widgets")
set(TARGET_LIB_GUI "sdrgui")
set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR})
else()
@@ -51,7 +51,7 @@ add_library(${TARGET_NAME} SHARED
target_link_libraries(${TARGET_NAME}
${HIDAPI_LIBRARIES}
Qt5::Core
Qt::Core
${TARGET_LIB}
sdrbase
${TARGET_LIB_GUI}