1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-02 06:04:39 -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
@@ -36,7 +36,7 @@ if(NOT SERVER_MODE)
)
set(TARGET_NAME inputremote)
set(TARGET_LIB "Qt5::Widgets")
set(TARGET_LIB "Qt::Widgets")
set(TARGET_LIB_GUI "sdrgui")
set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR})
else()
@@ -55,7 +55,7 @@ if(CM256CC_EXTERNAL)
endif()
target_link_libraries(${TARGET_NAME}
Qt5::Core
Qt::Core
${TARGET_LIB}
sdrbase
${TARGET_LIB_GUI}