facebookarchive / caffe2

Caffe2 is a lightweight, modular, and scalable deep learning framework.
https://caffe2.ai
Apache License 2.0
8.42k stars 1.94k forks source link

CMakeLists.txt has misspelled directory name #942

Open harsv opened 7 years ago

harsv commented 7 years ago

In file : caffe2/contrib/CMakeLists.txt add_subdirectory(transforms) should be : add_subdirectory(transform)

This causing 'cmake3' command to fail.

iteal commented 7 years ago

Yes it gives CMake Error at caffe2/contrib/CMakeLists.txt:6 (add_subdirectory): add_subdirectory given source "transforms" which is not an existing directory.

I can build latest build by changing the file like harsv said

deepali-c commented 7 years ago

This appears to be fixed - https://github.com/caffe2/caffe2/blob/master/caffe2/contrib/CMakeLists.txt#L6