diff options
-rw-r--r-- | greatsql.spec | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/greatsql.spec b/greatsql.spec index b68792c..b696d80 100644 --- a/greatsql.spec +++ b/greatsql.spec @@ -121,6 +121,13 @@ This package contains the GreatSQL regression test suite. %undefine __cmake_in_source_build %endif +%if "%{_vendor}" == "openEuler" +%define __cmake_builddir build +%define __cmake /usr/bin/cmake -S . -B __cmake_builddir +%define cmake_build /usr/bin/cmake --build "%{__cmake_builddir}" %{?_smp_mflags} --verbose +%define cmake_install DESTDIR="%{buildroot}" /usr/bin/cmake --install "%{__cmake_builddir}" +%endif + %cmake \ -DWITH_BOOST=%{SOURCE1} \ -DINSTALL_LAYOUT=RPM \ |