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 says "Cannot find source file" on macOS with Case-sensitive filesystem #1920

Open
yadex205 opened this Issue Oct 20, 2017 · 0 comments

Comments

Projects
None yet
1 participant
@yadex205

yadex205 commented Oct 20, 2017

Hi, I'm using macOS 10.12 with Case-Sensitive HFS+ filesystem.

When exec CMake, following message was shown.

CMake Error at proj/cmake/libcinder_target.cmake:14 (add_library):
  Cannot find source file:

    path-to-libcinder/src/AntTweakBar/TwOpenGl.cpp

  Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
  .hxx .in .txx

Actual filename is src/AntTweakBar/TwOpenG"""L""".cpp but according to proj/cmake/platform_macosx.cmake:64 CMake might have tried to find TwOpenG"""l""".cpp.

https://github.com/cinder/Cinder/blob/master/proj/cmake/platform_macosx.cmake#L64

On my environment, rewriting platform_macosx.cmake makes CMake works correctly.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment