summaryrefslogtreecommitdiff
path: root/caffe2/observers
diff options
context:
space:
mode:
authorDmytro Dzhulgakov <dzhulgakov@fb.com>2017-11-14 21:29:10 -0800
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>2017-11-14 21:46:57 -0800
commit2bf4dec9ff197d1b67a024799c389bc20fd2a5ed (patch)
tree0e5cd8d27574b2d7d3ae1cd20be421b10d33565b /caffe2/observers
parent65a1dbc93da0adcf891cf4aca9a13dfbab5d311b (diff)
downloadpytorch-2bf4dec9ff197d1b67a024799c389bc20fd2a5ed.tar.gz
pytorch-2bf4dec9ff197d1b67a024799c389bc20fd2a5ed.tar.bz2
pytorch-2bf4dec9ff197d1b67a024799c389bc20fd2a5ed.zip
Add missing CMakeFile in caffe2/observers
Summary: Broke by https://github.com/caffe2/caffe2/commit/43075b779b1d3bd5d26d50a63858750878b37994 Closes https://github.com/caffe2/caffe2/pull/1473 Differential Revision: D6333460 Pulled By: dzhulgakov fbshipit-source-id: 94a06b53650b02ff5938367896b52f47cdbf811a
Diffstat (limited to 'caffe2/observers')
-rw-r--r--caffe2/observers/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/caffe2/observers/CMakeLists.txt b/caffe2/observers/CMakeLists.txt
index 90e9a16ee5..8dc515ba3d 100644
--- a/caffe2/observers/CMakeLists.txt
+++ b/caffe2/observers/CMakeLists.txt
@@ -2,6 +2,7 @@ if(USE_OBSERVERS)
message(STATUS "Include Observer library")
set(Caffe2_CONTRIB_OBSERVERS_CPU_SRC
"${CMAKE_CURRENT_SOURCE_DIR}/time_observer.cc"
+ "${CMAKE_CURRENT_SOURCE_DIR}/runcnt_observer.cc"
)
set(Caffe2_CPU_SRCS ${Caffe2_CPU_SRCS} ${Caffe2_CONTRIB_OBSERVERS_CPU_SRC})