From 64b783faf25e0881a4eb8d6447c9ab6b8fda9fd2 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Wed, 22 Jul 2020 08:21:17 -0500 Subject: [PATCH] fix build doesn't (yet) support out-of-src tree builds pass --target docs to %%cmake_build --- libmusicbrainz5.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libmusicbrainz5.spec b/libmusicbrainz5.spec index 40f9aee..fd08eea 100644 --- a/libmusicbrainz5.spec +++ b/libmusicbrainz5.spec @@ -1,6 +1,8 @@ # Fedora package review: http://bugzilla.redhat.com/718395 +%global __cmake_in_source_build 1 + Summary: Library for accessing MusicBrainz servers Name: libmusicbrainz5 Version: 5.1.0 @@ -49,7 +51,8 @@ echo "HTML_TIMESTAMP = NO" >> Doxyfile.cmake %cmake %cmake_build -%cmake_build docs + +%cmake_build --target docs %install