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