forked from pool/cmake
Accepting request 205978 from home:bmanojlovic:branches:devel:tools:building
After discussion with scarabeus, we have agreed to use %_datadir macro even if user change it (and possibly fail this macro) OBS-URL: https://build.opensuse.org/request/show/205978 OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=129
This commit is contained in:
parent
9fa8fb7526
commit
0d6b7b1b22
@ -34,8 +34,8 @@
|
||||
-DBUILD_STATIC_LIBS:BOOL=OFF \\\
|
||||
-DCMAKE_COLOR_MAKEFILE:BOOL=OFF \\\
|
||||
-DCMAKE_INSTALL_DO_STRIP:BOOL=OFF \\\
|
||||
-DCMAKE_MODULES_INSTALL_DIR=/usr/share/cmake/Modules \\\
|
||||
-DCMAKE_USER_MAKE_RULES_OVERRIDE="/usr/share/cmake/Modules/opensuse_rules.cmake"
|
||||
-DCMAKE_MODULES_INSTALL_DIR=%{_datadir}/cmake/Modules \\\
|
||||
-DCMAKE_USER_MAKE_RULES_OVERRIDE="%{_datadir}/cmake/Modules/opensuse_rules.cmake"
|
||||
|
||||
%cmake_install \
|
||||
cd build \
|
||||
|
Loading…
Reference in New Issue
Block a user