CMake: Enable Qt6 if WIRESHARK_QT6_PREFIX_PATH is set.

Remove the "developers only" admonition.
This commit is contained in:
Gerald Combs 2022-05-20 15:23:50 -07:00
parent aad47c8438
commit c552665fd3
1 changed files with 5 additions and 1 deletions

View File

@ -3,7 +3,11 @@
option(BUILD_wireshark "Build Wireshark" ON)
option(BUILD_logwolf "Build Logwolf" OFF)
if(BUILD_wireshark OR BUILD_logwolf)
option(USE_qt6 "Use Qt6 instead of Qt5 - WIP, GUI developers only!" OFF)
if(DEFINED ENV{WIRESHARK_QT6_PREFIX_PATH})
option(USE_qt6 "Use Qt6 instead of Qt5" ON)
else()
option(USE_qt6 "Use Qt6 instead of Qt5" OFF)
endif()
endif()
option(BUILD_tshark "Build tshark" ON)
option(BUILD_tfshark "Build tfshark" OFF)