Improve compatibility with new CMake macro

Signed-off-by: Igor Raits <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Raits 2020-07-06 09:36:44 +02:00
parent 574ed9e6d8
commit e8b00694fb
No known key found for this signature in database
GPG Key ID: 115D5AB89C5C1E1E

View File

@ -33,12 +33,12 @@ Vulkan tools
%build
%cmake3 -GNinja -DCMAKE_BUILD_TYPE=Release -DGLSLANG_INSTALL_DIR=%{_prefix} .
%ninja_build
%cmake3 -GNinja -DCMAKE_BUILD_TYPE=Release -DGLSLANG_INSTALL_DIR=%{_prefix}
%cmake3_build
%install
%ninja_install
%cmake3_install
%files
%license LICENSE.txt