The `CMAKE_INSTALL_LIBDIR` should not be an absolute path, and afaict `%{_libdir}` expands to absolute path. Maybe you can patch the CMakeLitsts.txt to accept a variable of QT_VERSION and alter the install directive there.

On 2024/07/08 10:18, Martin Gansser wrote:
Hi,

with the option
  -DCMAKE_INSTALL_LIBDIR=%{_libdir}/qt5
I cannot get the shared library into the directory /usr/lib64/qt5
what am I doing wrong ?

[1] https://martinkg.fedorapeople.org/ErrorReports/qhotkey.spec

Regards
Martin
--
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to