forked from pool/heaptrack
This commit is contained in:
parent
74d4ac7c7c
commit
cef22aa8f2
@ -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
|
||||
sed -i"" '/add_subdirectory(tests)/d' CMakeLists.txt
|
||||
|
||||
extra_options=""
|
||||
%if "%{?_lib}" == "lib64"
|
||||
extra_options="-DLIB_SUFFIX=64"
|
||||
_lib_suffix="64"
|
||||
%endif
|
||||
|
||||
%build
|
||||
%cmake_kf5 -d build -- $extra_options
|
||||
%cmake_kf5 -d build -- -DLIB_SUFFIX="$_lib_suffix"
|
||||
%cmake_build
|
||||
|
||||
%install
|
||||
|
Loading…
Reference in New Issue
Block a user