Set CMAKE_AUTOMOC to ON

This commit is contained in:
Sandro Mani 2022-11-29 08:08:42 +01:00
commit 523adf549a
2 changed files with 5 additions and 1 deletions

View file

@ -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)

View file

@ -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 <manisandro@gmail.com> - 2.1.1-4
- Set CMAKE_AUTOMOC to ON
* Mon Nov 28 2022 Sandro Mani <manisandro@gmail.com> - 2.1.1-3
- Fix lib version