summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorIvan Shapovalov <intelfx@intelfx.name>2016-08-24 06:28:41 +0300
committerIvan Shapovalov <intelfx@intelfx.name>2016-08-31 15:20:49 +0300
commit6ed799cb206c6b70bdd260d62e8ff3e077f5b635 (patch)
treed82f45ed10748298283ef8ceec22bc4fd8fb0c62 /cmake
parentf1b9da54598923c531e1a98c4f1546169165e441 (diff)
downloadcaffe-6ed799cb206c6b70bdd260d62e8ff3e077f5b635.tar.gz
caffe-6ed799cb206c6b70bdd260d62e8ff3e077f5b635.tar.bz2
caffe-6ed799cb206c6b70bdd260d62e8ff3e077f5b635.zip
cmake/Templates: remove duplicated #cmakedefines from caffe_config.h.in
Rationale: these are duplicated in CMakeLists code, and they cannot be removed from there because many definitions need to be exported to the library clients. See issue #4625.
Diffstat (limited to 'cmake')
-rw-r--r--cmake/Templates/caffe_config.h.in19
1 files changed, 0 insertions, 19 deletions
diff --git a/cmake/Templates/caffe_config.h.in b/cmake/Templates/caffe_config.h.in
index 8a31b43c..45465b98 100644
--- a/cmake/Templates/caffe_config.h.in
+++ b/cmake/Templates/caffe_config.h.in
@@ -4,16 +4,6 @@
/* Binaries directory */
#define BINARY_FOLDER "${PROJECT_BINARY_DIR}"
-/* NVIDA Cuda */
-#cmakedefine HAVE_CUDA
-
-/* NVIDA cuDNN */
-#cmakedefine HAVE_CUDNN
-#cmakedefine USE_CUDNN
-
-/* NVIDA cuDNN */
-#cmakedefine CPU_ONLY
-
/* Test device */
#define CUDA_TEST_DEVICE ${CUDA_TEST_DEVICE}
@@ -27,12 +17,3 @@
#define EXAMPLES_SOURCE_DIR "examples/"
#define CMAKE_EXT ""
#endif
-
-/* Matlab */
-#cmakedefine HAVE_MATLAB
-
-/* IO libraries */
-#cmakedefine USE_OPENCV
-#cmakedefine USE_LEVELDB
-#cmakedefine USE_LMDB
-#cmakedefine ALLOW_LMDB_NOLOCK