Skip to content

Commit

Permalink
cmake/Templates: remove duplicated #cmakedefines from caffe_config.h.in
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
intelfx committed Aug 24, 2016
1 parent de9147a commit c6d36b6
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions cmake/Templates/caffe_config.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -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}

Expand All @@ -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

0 comments on commit c6d36b6

Please sign in to comment.