Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PyIlmBase Cmake unable to find Boost #191

Closed
bfloch opened this issue May 17, 2016 · 1 comment
Closed

PyIlmBase Cmake unable to find Boost #191

bfloch opened this issue May 17, 2016 · 1 comment

Comments

@bfloch
Copy link

bfloch commented May 17, 2016

We're on linux here and for us all are boost packages are lowercase (without us manually overriding it).

Whatever we do with the current CMakeLists.txt of PyIlmBase FindBoost can not find libboost_python.
-DBoost_DEBUG=ON reveals that it does find the inlcudes, library paths etc. but fails finding the specific component.

Before submitting a pull request I wonder if there is a reason for the current spelling (windows?)

This fixes it for us:

--- CMakeLists.txt  2014-08-10 00:21:45.000000000 -0400
+++ CMakeLists.txt.fixed    2016-05-17 10:24:47.555378446 -0400
@@ -39,7 +39,7 @@
 FIND_PACKAGE ( PythonLibs REQUIRED )
 FIND_PACKAGE ( PythonInterp REQUIRED )
 FIND_PACKAGE ( Boost
-   COMPONENTS Python
+   COMPONENTS python
 )
@kdt3rd
Copy link
Contributor

kdt3rd commented Jul 21, 2019

This has been resolved in the new cmake refactor, do note that the next release we will require cmake 3.12 to get the new FindPython goodness. Thanks!

@kdt3rd kdt3rd closed this as completed Jul 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants