[urdfdom/el6] Disable boost's cmake-based detection on epel6
rmattes
rmattes at fedoraproject.org
Sat Nov 30 18:22:17 UTC 2013
commit c2230409f0ad03ba7d6c6849b03e7a6afc6aaebd
Author: Rich Mattes <richmattes at gmail.com>
Date: Sat Nov 30 13:20:57 2013 -0500
Disable boost's cmake-based detection on epel6
Working around "no target /usr/lib64/lib64/libboost_*" error
as described at
http://stackoverflow.com/questions/9948375/cmake-find-package-succeeds-but-returns-wrong-path
urdfdom.spec | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/urdfdom.spec b/urdfdom.spec
index 738da38..f1c0ecf 100644
--- a/urdfdom.spec
+++ b/urdfdom.spec
@@ -36,7 +36,7 @@ developing applications that use %{name}.
sed -i 's/add_subdirectory(urdf_parser_py)//' CMakeLists.txt
%build
-%cmake28 . -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_LIBDIR=%{_lib }
+%cmake28 . -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_LIBDIR=%{_lib } -DBoost_NO_BOOST_CMAKE=ON
make %{?_smp_mflags}
More information about the scm-commits
mailing list