summaryrefslogtreecommitdiff
path: root/packaging/macros.cmake_orig
diff options
context:
space:
mode:
authorbiao716.wang <biao716.wang@samsung.com>2020-12-07 11:58:29 +0900
committerbiao716.wang <biao716.wang@samsung.com>2020-12-09 17:32:53 +0900
commita26c0b2357111eed25cf264967cbf2bc1c306650 (patch)
treef766326b775137ec95984a56da2493c3e0a23660 /packaging/macros.cmake_orig
parent04c87672f50ee420d3a1fab45169428011b825d8 (diff)
downloadcmake-submit/tizen_base/20210107.120246.tar.gz
cmake-submit/tizen_base/20210107.120246.tar.bz2
cmake-submit/tizen_base/20210107.120246.zip
New: Add dependece with zstd, actually there exist internal zstd in cmake.Y Change-Id: I72753531d4c77db3d93f66bdaefcb9bde2f1b737 Signed-off-by: biao716.wang <biao716.wang@samsung.com>
Diffstat (limited to 'packaging/macros.cmake_orig')
-rw-r--r--packaging/macros.cmake_orig25
1 files changed, 0 insertions, 25 deletions
diff --git a/packaging/macros.cmake_orig b/packaging/macros.cmake_orig
deleted file mode 100644
index 8257f9666..000000000
--- a/packaging/macros.cmake_orig
+++ /dev/null
@@ -1,25 +0,0 @@
-#
-# Macros for cmake
-#
-%_cmake_lib_suffix64 -DLIB_SUFFIX=64
-%_cmake_skip_rpath -DCMAKE_SKIP_RPATH:BOOL=ON
-%__cmake %{_bindir}/cmake
-
-%cmake \
- CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ; \
- CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS ; \
- FFLAGS="${FFLAGS:-%optflags}" ; export FFLAGS ; \
- %__cmake \\\
- -DCMAKE_VERBOSE_MAKEFILE=ON \\\
- -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \\\
- -DCMAKE_INSTALL_LIBDIR:PATH=%{_libdir} \\\
- -DINCLUDE_INSTALL_DIR:PATH=%{_includedir} \\\
- -DLIB_INSTALL_DIR:PATH=%{_libdir} \\\
- -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \\\
- -DSHARE_INSTALL_PREFIX:PATH=%{_datadir} \\\
-%if "%{?_lib}" == "lib64" \
- %{?_cmake_lib_suffix64} \\\
-%endif \
- %{?_cmake_skip_rpath} \\\
- -DBUILD_SHARED_LIBS:BOOL=ON
-