Fixed python plugin to work with new layer factory.

This is fixed too now.

BR, Max

On Mon, Oct 6, 2014 at 6:34 PM, Evan Shelhamer <notifications@github.com>
wrote:

> In python/CMakeLists.txt:
>
> >
> >  file(GLOB_RECURSE Python_SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/*.cpp)
> >
> > +LIST(APPEND Python_SOURCES
> > +    ${CMAKE_CURRENT_SOURCE_DIR}/../src/caffe/layer_factory.cpp)
>
> @Yangqing <https://github.com/Yangqing> I agree that the right solution
> is to align the CMake build with the Makefile. Locally adding a source file
> to a target cannot be right. I don't know why the CMake build is so
> different in the first place.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/BVLC/caffe/pull/1206/files#r18475766>.
>