royshil/SfM-Toy-Library

cmakelist.txt causing cmake error on unix

Closed this issue · 3 comments

47X commented

quite self explanatory - cmake on linux is trying to find CMakeList.txt not cmakelist.txt in SfMToyLib directory.

cmake throws:

CMake Error at CMakeLists.txt:7 (add_subdirectory):
The source directory

~/cprojects/SfM-Toy-Library/SfMToyLib

does not contain a CMakeLists.txt file.

The SfMToyLib directory does contain a "CMakeLists.txt" file...

47X commented

disagree:) it contains cmakelist.txt not CMakeLists.txt and it is not the same, at least on linux. i have no mac but afaik all unix systems are case-sensitive.
Screenshot from 2013-01-30 03:40:24

ok, should be good now...
MacOS is wonky with these case sensitivity issues.
Problem was solved with: http://stackoverflow.com/questions/8904327/case-sensitivity-in-git