https://bugzilla.redhat.com/show_bug.cgi?id=879928



--- Comment #20 from Robert-AndrĂ© Mauchin <[email protected]> ---
My message was maybe not clear, but the cmake part should be in %build too:

%build
# Additional flag: http://www.ogre3d.org/forums/viewtopic.php?f=2&t=71037
export CXXFLAGS="$RPM_OPT_FLAGS -lboost_system"
cmake \
  -DROR_USE_MYGUI="TRUE" \
  -DROR_USE_OPENAL="TRUE" \
  -DROR_USE_PAGED="TRUE" \
  -DROR_USE_CAELUM="TRUE" \
  -DROR_USE_ANGELSCRIPT="FALSE" \
  -DROR_USE_SOCKETW="TRUE" \
  -DSOCKETW_INCLUDE_DIRS:PATH="%{_includedir}/SocketW" \
  -DPAGED_INCLUDE_DIRS:PATH="%{_includedir}/OGRE" \
  -MYGUI_INCLUDE_DIRS:PATH="%{_includedir}/OGRE/Overlay" \
  -DPAGED_LIBRARY_DIRS:PATH="%{_libdir}/OGRE" \
  -DPAGED_LIBRARIES=%{_libdir}/OGRE/libPagedGeometry.so \
  -DCAELUM_LIBRARIES=%{_libdir}/OGRE/libCaelum.so \
  -DCMAKE_BUILD_TYPE=Debug \
  -DCMAKE_INSTALL_PREFIX=%{buildroot}%{_prefix} \
  \
  .
make %{?_smp_mflags}

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to