]> git.ipfire.org Git - ipfire-3.x.git/blob - cmake/cmake.macro
libuv: New package
[ipfire-3.x.git] / cmake / cmake.macro
1 #
2 # cmake macros
3 #
4
5 __cmake = /usr/bin/cmake
6 if "%{lib}" == "lib64"
7 __cmake_lib_suffix = -DLIB_SUFFIX=64
8 end
9
10 cmake = %{__cmake} \
11 -DCMAKE_VERBOSE_MAKEFILE=ON \
12 -DCMAKE_INSTALL_PREFIX:PATH=%{prefix} \
13 -DINCLUDE_INSTALL_DIR:PATH=%{includedir} \
14 -DLIB_INSTALL_DIR:PATH=%{libdir} \
15 -DSYSCONF_INSTALL_DIR:PATH=%{sysconfdir} \
16 -DSHARE_INSTALL_PREFIX:PATH=%{datadir} \
17 %{__cmake_lib_suffix} \
18 -DBUILD_SHARED_LIBS:BOOL=ON