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

CMake newer version #11

Closed
hankim opened this issue Mar 15, 2018 · 2 comments
Closed

CMake newer version #11

hankim opened this issue Mar 15, 2018 · 2 comments

Comments

@hankim
Copy link

hankim commented Mar 15, 2018

Hi,

I was trying to compile s2 python binding and had to update CMakefile a bit as I'm using newer version of CMake and some of directives are deprecated:

https://gist.github.com/hankim/d058ba1f26d9efd5aba296d6fa28e2e3

@hankim
Copy link
Author

hankim commented Mar 15, 2018

btw, I have very little knowledge about CMake, so someone may find a better way of handling this.

@hankim
Copy link
Author

hankim commented Mar 15, 2018

another issue is the dynamic library linking:
@rpath/libs2.dylib (compatibility version 0.0.0, current version 0.0.0)
and I had to manually change to:
/usr/local/lib/libs2.dylib (compatibility version 0.0.0, current version 0.0.0)
with the following command in Mac OS X:
sudo install_name_tool -change @rpath/libs2.dylib /usr/local/lib/libs2.dylib /usr/local/share/python/_pywraps2.so

I couldn't figure out where the link option is coming from.

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

1 participant