diff options
Diffstat (limited to 'caffe')
-rw-r--r-- | caffe/proto/CMakeLists.txt | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/caffe/proto/CMakeLists.txt b/caffe/proto/CMakeLists.txt index 11ae84f30a..a3e36b007f 100644 --- a/caffe/proto/CMakeLists.txt +++ b/caffe/proto/CMakeLists.txt @@ -8,8 +8,4 @@ add_library(Caffe_PROTO SHARED ${Caffe_PROTO_HEADERS} ${Caffe_PROTO_SRCS}) target_include_directories(Caffe_PROTO PUBLIC ${CMAKE_CURRENT_BINARY_DIR}) install(TARGETS Caffe_PROTO DESTINATION ${CMAKE_INSTALL_PREFIX}/lib) -if(USE_SYSTEM_PROTOBUF) - target_link_libraries(Caffe_PROTO protobuf) -else() - add_dependencies(Caffe_PROTO protobuf_external) -endif() +target_link_libraries(Caffe_PROTO protobuf) |