Hi,
What happens if you call FindBoost once for python 2 and once for python
3? Between invocations you could copy the boost variables to python
specific variants.
FindBoost( . . . .)
SET(Boost_LIBRARY_DIRS_PYTHON2 ${Boost_LIBRARY_DIRS})
FindBoost( . . . .)
SET(Boost_LIBRARY_DIRS_PYTHON3 ${Boost_LIBRARY_DIRS})
Regards,
Juan
On 6/25/18 1:24 AM, Alexander Bürger wrote:
Hello Juan,
but there are also two boost-python versions required, one for python2
and one for python3. I think it is not a good idea to reimplement the
FindBoost logic.
Cheers,
Alexander Bürger
MET Norway
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to support the CMake community. For more
information on each offering, please visit:
CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Follow this link to subscribe/unsubscribe:
https://cmake.org/mailman/listinfo/cmake