Commit 2b44347e authored by blam's avatar blam

Merge branch 'jb38551-pkgconfig-version' into 'master'

[devicelock] Properly link package and .pc version. Contributes to JB#38551

See merge request !37
parents 3451c2fc 7cbbe37e
......@@ -55,7 +55,7 @@ Requires: pkgconfig(nemodbus)
%setup -q -n %{name}-%{version}
%build
%qmake5
%qmake5 "VERSION=%{version}"
make %{?_smp_mflags}
%install
......
......@@ -63,6 +63,7 @@ QMAKE_PKGCONFIG_DESCRIPTION = Library for Nemo device lock.
QMAKE_PKGCONFIG_LIBDIR = $$target.path
QMAKE_PKGCONFIG_INCDIR = /usr/include
QMAKE_PKGCONFIG_DESTDIR = pkgconfig
QMAKE_PKGCONFIG_VERSION = $$VERSION
INSTALLS += \
private_headers \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment