]> git.pld-linux.org Git - packages/rpm-build-macros.git/blobdiff - rpm.macros
- 1.293: added %cmake macro
[packages/rpm-build-macros.git] / rpm.macros
index 32eae6e102ffd40bdf402e6f6a4f9e90989aae37..90728615f4ff6ed43a50789c23b349e40bb8d788 100644 (file)
@@ -82,6 +82,14 @@ fi; \
        %{dependencytracking} \
 }
 
+%cmake { \
+CC="%{__cc}" \
+CXX="%{__cxx}" \
+CFLAGS="%{rpmcflags}" \
+CXXFLAGS="%{rpmcxxflags}" \
+cmake \
+}
+
 #----------------------------------------------------------------
 %global configure_cache 0
 %configure_cache_file   %{buildroot}.configure.cache
This page took 5.136278 seconds and 4 git commands to generate.