From 523adf549ab9dab43dfe88d017c8d7bc2bd41294 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Tue, 29 Nov 2022 08:08:42 +0100 Subject: [PATCH] Set CMAKE_AUTOMOC to ON --- CMakeLists.txt | 1 + qcustomplot.spec | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3b0abca..e7c8c16 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -11,6 +11,7 @@ FIND_PACKAGE(Qt${QT_VER}Core REQUIRED) FIND_PACKAGE(Qt${QT_VER}Gui REQUIRED) FIND_PACKAGE(Qt${QT_VER}Widgets REQUIRED) FIND_PACKAGE(Qt${QT_VER}PrintSupport REQUIRED) +SET(CMAKE_AUTOMOC ON) # Library add_library(qcustomplot SHARED qcustomplot.cpp qcustomplot.h) diff --git a/qcustomplot.spec b/qcustomplot.spec index c91f0a1..e64f6b0 100644 --- a/qcustomplot.spec +++ b/qcustomplot.spec @@ -6,7 +6,7 @@ Name: qcustomplot Version: 2.1.1 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Qt widget for plotting and data visualization License: GPL-3.0-or-later @@ -148,6 +148,9 @@ done %changelog +* Tue Nov 29 2022 Sandro Mani - 2.1.1-4 +- Set CMAKE_AUTOMOC to ON + * Mon Nov 28 2022 Sandro Mani - 2.1.1-3 - Fix lib version