Fix rpath support with SUSE cmake macros

OBS-URL: https://build.opensuse.org/package/show/graphics:darktable/darktable?expand=0&rev=43
This commit is contained in:
Andreas Schneider 2022-06-14 06:31:57 +00:00 committed by Git OBS Bridge
parent 699bc1b6a9
commit 4250a81357
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Jun 14 06:31:23 UTC 2022 - Andreas Schneider <asn@cryptomilk.org>
- Fix rpath support with SUSE cmake macros
-------------------------------------------------------------------
Wed May 18 12:16:13 UTC 2022 - Andreas Schneider <asn@cryptomilk.org>

View File

@ -273,7 +273,7 @@ rm -rf src/external/lua/
%build
%global cmake_options \\\
-DCMAKE_INSTALL_LIBDIR=%{_lib} \\\
-DCMAKE_SKIP_RPATH:BOOL=OFF \\\
-DCMAKE_SKIP_RPATH:BOOL=OFF -DCMAKE_SKIP_INSTALL_RPATH:BOOL=OFF \\\
-DCMAKE_INSTALL_DATAROOTDIR="share" \\\
-DCMAKE_INSTALL_LIBEXECDIR="%{_libexecdir}" \\\
-DCMAKE_INSTALL_DOCDIR="%{_defaultdocdir}/%{pkg_name}" \\\