Skip to content

Commit 1770bbd

Browse files
jw098fyex
authored andcommitted
check QT version
1 parent 846251a commit 1770bbd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

SerialPrograms/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2277,4 +2277,6 @@ file(GLOB MY_DLLS
22772277
file(COPY ${MY_DLLS} DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
22782278
endif()
22792279

2280-
qt_finalize_target(SerialPrograms)
2280+
if (QT_MAJOR EQUAL 6)
2281+
qt_finalize_target(SerialPrograms)
2282+
endif()

0 commit comments

Comments
 (0)