From 68d79b22af1ba59aae421492cd35686f1d2b83fe Mon Sep 17 00:00:00 2001 From: tytan652 Date: Fri, 24 Mar 2023 08:01:48 +0100 Subject: [PATCH] base: Disable Qt RCC timestamps only on Windows --- CMakeLists.txt | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index bbe11359..4ca78271 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -44,10 +44,11 @@ set_target_properties( PROPERTIES AUTOMOC ON AUTOUIC ON AUTORCC ON) -set_property( - TARGET obs-websocket - APPEND - PROPERTY AUTORCC_OPTIONS --format-version 1) + +if(_QT_VERSION EQUAL 6 AND OS_WINDOWS) + set_target_properties(obs-websocket PROPERTIES AUTORCC_OPTIONS + "--format-version;1") +endif() target_sources( obs-websocket