Commit 9acd4307 authored by jehan's avatar jehan

set CMAKE_PREFIX_PATH:PATH=%{_prefix} for rpm build to find right location for bctbx

parent 9f41b23d
......@@ -79,7 +79,7 @@ develop programs using the oRTP library.
%setup -n %{name}-%{version}-%build_number
%build
%{expand:%%%cmake_name} . -DCMAKE_INSTALL_LIBDIR:PATH=%{_libdir}
%{expand:%%%cmake_name} . -DCMAKE_INSTALL_LIBDIR:PATH=%{_libdir} -DCMAKE_PREFIX_PATH:PATH=%{_prefix}
make %{?_smp_mflags}
%install
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment