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

MATLAB mex.cmake file needs to be re-pulled #40

Open
crheckman opened this issue Oct 30, 2015 · 0 comments
Open

MATLAB mex.cmake file needs to be re-pulled #40

crheckman opened this issue Oct 30, 2015 · 0 comments
Assignees

Comments

@crheckman
Copy link
Contributor

Currently matlab/mex.cmake is buggy with newer versions of CMake. The error thrown is:

CMake Error at matlab/mex.cmake:313 (add_library):
  Target "calibu_mex" links to item "-arch x86_64
  -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift-migrator/sdk/MacOSX.sdk
  -mmacosx-version-min=11 -L/Applications/MATLAB_R2014b.app/bin/maci64 -lmx
  -lmex -lmat -ldl " which has leading or trailing whitespace.  This is now
  an error according to policy CMP0004.
Call Stack (most recent call first):
  matlab/CMakeLists.txt:13 (add_mex)

We can fix this problem by pulling from an upstream version of the file once it's fixed, but I haven't been able to find a completely error-free version quite yet.

@crheckman crheckman self-assigned this Oct 30, 2015
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