summaryrefslogtreecommitdiff
path: root/caffe
diff options
context:
space:
mode:
authorVladimir Chalyshev <vchalyshev@fb.com>2018-01-26 06:00:02 -0800
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>2018-01-26 06:08:49 -0800
commit8c02674964ccaf18a5cce4e3b51839024fc4e913 (patch)
tree237021e8e16971bd30917e8d12aca9b2345ebf98 /caffe
parent8aa8eaabb1e03b0937bd5dcd800c7225e4f2fa54 (diff)
downloadpytorch-8c02674964ccaf18a5cce4e3b51839024fc4e913.tar.gz
pytorch-8c02674964ccaf18a5cce4e3b51839024fc4e913.tar.bz2
pytorch-8c02674964ccaf18a5cce4e3b51839024fc4e913.zip
Revert D6817719: [caffe2][PR] Better support for windows
Summary: This reverts commit d286264fccc72bf90a2fcd7da533ecca23ce557e bypass-lint An infra SEV is better than not reverting this diff. If you copy this password, see you in SEV Review! cause_a_sev_many_files Differential Revision: D6817719 fbshipit-source-id: 8fe0ad7aba75caaa4c3cac5e0a804ab957a1b836
Diffstat (limited to 'caffe')
-rw-r--r--caffe/proto/CMakeLists.txt4
1 files changed, 0 insertions, 4 deletions
diff --git a/caffe/proto/CMakeLists.txt b/caffe/proto/CMakeLists.txt
index a5d3f0325e..b574ce19e3 100644
--- a/caffe/proto/CMakeLists.txt
+++ b/caffe/proto/CMakeLists.txt
@@ -5,8 +5,4 @@ file(GLOB Caffe_PROTOBUF_FILES "${CMAKE_CURRENT_SOURCE_DIR}/*.proto")
caffe2_protobuf_generate_cpp_py(Caffe_PROTO_SRCS Caffe_PROTO_HEADERS Caffe_PROTO_PY ${Caffe_PROTOBUF_FILES})
add_library(Caffe_PROTO OBJECT ${Caffe_PROTO_HEADERS} ${Caffe_PROTO_SRCS})
-if (MSVC)
- target_compile_definitions(
- Caffe_PROTO PRIVATE "-DCAFFE2_API=__declspec(dllexport)")
-endif()
install(FILES ${Caffe_PROTO_HEADERS} DESTINATION include/caffe/proto)