SHA256
1
0
forked from pool/heaptrack
Christophe Giboudeaux 2020-08-31 15:45:56 +00:00 committed by Git OBS Bridge
parent 7c984f418d
commit 74d4ac7c7c

View File

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