Created
March 28, 2016 03:17
-
-
Save muellermartin/059238a0198dcb5c6972 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/CMakeLists.txt b/CMakeLists.txt | |
| index 3d67607..c7d86b8 100644 | |
| --- a/CMakeLists.txt | |
| +++ b/CMakeLists.txt | |
| @@ -203,6 +203,10 @@ add_custom_target(uninstall | |
| find_package(PythonLibs 2) | |
| find_package(SWIG) | |
| +if(APPLE) | |
| + set(PYTHON_LIBRARY "-undefined dynamic_lookup") | |
| +endif(APPLE) | |
| + | |
| if(SWIG_FOUND) | |
| message(STATUS "Minimum SWIG version required is 1.3.31") | |
| set(SWIG_VERSION_CHECK FALSE) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment