diff options
author | CoprDistGit <infra@openeuler.org> | 2024-07-30 12:53:33 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-07-30 12:53:33 +0000 |
commit | 52360406d943eb6fe5e11a2209985e4407bfe4ab (patch) | |
tree | 547fa3e7339f5cd4b3b808d30d266afc9f565132 /macros.cmake.in | |
parent | 9d7a2f3d0b23af5254f1d2bfea703f8a7420b581 (diff) |
automatic import of cmakeopeneuler24.03_LTS
Diffstat (limited to 'macros.cmake.in')
-rw-r--r-- | macros.cmake.in | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/macros.cmake.in b/macros.cmake.in index 675ca90..986d3d3 100644 --- a/macros.cmake.in +++ b/macros.cmake.in @@ -58,3 +58,11 @@ %cmake@@CMAKE_MAJOR_VERSION@@_install %cmake_install %ctest@@CMAKE_MAJOR_VERSION@@(:-:h:j:u:v:A:C:D:E:F:H:I:L:M:N:O:Q:R:S:T:U:V:) \ %ctest %{**} + +# Declarative buildsystem, requires RPM 4.20+ to work +# https://rpm-software-management.github.io/rpm/manual/buildsystem.html +%buildsystem_cmake_generate_buildrequires() %{nil} +%buildsystem_cmake_conf() %cmake %* +%buildsystem_cmake_build() %cmake_build %* +%buildsystem_cmake_install() %cmake_install %* +%buildsystem_cmake_check(:-:h:j:u:v:A:C:D:E:F:H:I:L:M:N:O:Q:R:S:T:U:V:) %ctest %{**} |