chore: update the file

This commit is contained in:
wuhai 2024-03-29 08:57:45 +08:00
parent 3ea285bbbe
commit 246f9ebbec

View File

@ -147,7 +147,7 @@ endif()
# -------------------------------------------------------------------------------------------------
# The private modules is not open-source.
if(NOT Qt{QT_VERSION_MAJOR}_VERSION VERSION_LESS "6.5.0")
if((QT_VERSION_MAJOR GREATER 5) AND (NOT Qt6_VERSION VERSION_LESS "6.5.0"))
if(EXISTS ${CMAKE_SOURCE_DIR}/Private)
add_subdirectory(${CMAKE_SOURCE_DIR}/Private)
endif()