Christophe Giboudeaux 2020-08-31 15:53:56 +00:00 committed by Git OBS Bridge
parent 74d4ac7c7c
commit cef22aa8f2

View File

@ -85,13 +85,12 @@ A Qt5/KF5 based GUI for Heaptrack.
# Disable building tests, they're not used and post-build-checks trips over it # Disable building tests, they're not used and post-build-checks trips over it
sed -i"" '/add_subdirectory(tests)/d' CMakeLists.txt sed -i"" '/add_subdirectory(tests)/d' CMakeLists.txt
extra_options=""
%if "%{?_lib}" == "lib64" %if "%{?_lib}" == "lib64"
extra_options="-DLIB_SUFFIX=64" _lib_suffix="64"
%endif %endif
%build %build
%cmake_kf5 -d build -- $extra_options %cmake_kf5 -d build -- -DLIB_SUFFIX="$_lib_suffix"
%cmake_build %cmake_build
%install %install