File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed
Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -462,9 +462,10 @@ else() # macOS and Linux
462462 endif ()
463463
464464 if (APPLE )
465- target_compile_options (SerialProgramsLib PRIVATE -Wall -Wextra -Wpedantic -Werror)
466465 if (${CMAKE_SYSTEM_PROCESSOR} MATCHES "arm" )
467- target_compile_options (SerialProgramsLib PRIVATE -Wshorten-64-to-32)
466+ target_compile_options (SerialProgramsLib PRIVATE -Wall -Wextra -Wpedantic -Werror -Wshorten-64-to-32)
467+ else ()
468+ target_compile_options (SerialProgramsLib PRIVATE -Wall -Wextra -Wpedantic -Werror -Wno-unused-parameter)
468469 endif ()
469470
470471 # on macOS, need this framework to query OS API to control display sleep and system sleep behavior
@@ -657,3 +658,11 @@ endif() # end WIN32
657658if (QT_MAJOR GREATER_EQUAL 6)
658659 qt_finalize_target(SerialPrograms)
659660endif ()
661+ COMMENT "Deploying runtime (Qt, packages, DLLs) to ${WIN_DEPLOY_DIR} "
662+ VERBATIM
663+ )
664+ endif () # end WIN32
665+
666+ if (QT_MAJOR GREATER_EQUAL 6)
667+ qt_finalize_target(SerialPrograms)
668+ endif ()
You can’t perform that action at this time.
0 commit comments