SHA256
3
0
forked from pool/cmake

Accepting request 1082125 from home:gmbr3:Active

- macros: Re-add old setup on top of new - some applications still
  use the old version

OBS-URL: https://build.opensuse.org/request/show/1082125
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=528
This commit is contained in:
Dirk Mueller 2023-04-24 09:18:48 +00:00 committed by Git OBS Bridge
parent bbc9c7d7f1
commit 02a9498f8f
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Apr 21 19:24:16 UTC 2023 - Callum Farmer <gmbr3@opensuse.org>
- macros: Re-add old setup on top of new - some applications still
use the old version
-------------------------------------------------------------------
Thu Apr 20 19:52:52 UTC 2023 - Callum Farmer <gmbr3@opensuse.org>

View File

@ -32,6 +32,10 @@
-DCMAKE_INSTALL_LIBDIR:PATH=%{__cmake_make_prefix_relative %{_libdir}} \\\
-DCMAKE_INSTALL_INCLUDEDIR:PATH=%{__cmake_make_prefix_relative %{_includedir}} \\\
-DCMAKE_INSTALL_DATAROOTDIR:PATH=%{__cmake_make_prefix_relative %{_datadir}} \\\
-DINCLUDE_INSTALL_DIR:PATH=%{_includedir} \\\
-DLIB_INSTALL_DIR:PATH=%{_libdir} \\\
-DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \\\
-DSHARE_INSTALL_PREFIX:PATH=%{_datadir} \\\
-DCMAKE_BUILD_TYPE=RelWithDebInfo \\\
-DCMAKE_C_FLAGS="${CFLAGS:-%optflags}" \\\
-DCMAKE_CXX_FLAGS="${CXXFLAGS:-%optflags}" \\\