Skip to content

Commit 0ebe05b

Browse files
jw098Gin890
authored andcommitted
check QT version
1 parent 7f43c43 commit 0ebe05b

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
@@ -2273,4 +2273,6 @@ file(GLOB MY_DLLS
22732273
file(COPY ${MY_DLLS} DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
22742274
endif()
22752275

2276-
qt_finalize_target(SerialPrograms)
2276+
if (QT_MAJOR EQUAL 6)
2277+
qt_finalize_target(SerialPrograms)
2278+
endif()

0 commit comments

Comments
 (0)