On vendredi 2 novembre 2018 21:34:01 CET Luya Tshimbalanga wrote:
> Thanks for the pointers. The build encountered an issue due to the use
> of boost-static (for some strange reason, boost-devel will not be
> detected). I put the SRPM in COPR for testing:
> https://copr-be.cloud.fedoraproject.org/results/luya/LuxCoreRender/fedora-29
> -x86_64/00818528-LuxCoreRender/
> 
> including the SPEC file. Suggestion welcome.
> 
> 
> Luya

As explained in my previous mail this is solved by passing  -DPYTHON_V=3 to 
cmake. Actually %{python3_pkgversion} would be better:

 - Use BuildRequires:  boost-devel instead of static and add the PYTHON_V=%
{python3_pkgversion} variable as a cmake parameter. It will now detect Boost 
correctly

%cmake \
    -DCMAKE_VERBOSE_MAKEFILE:BOOL=TRUE \
    -DCMAKE_CXX_FLAGS="$CXXFLAGS -DLUXRAYS_DISABLE_OPENCL=0" \
    -DPYTHON_V=%{python3_pkgversion}

_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org

Reply via email to