summaryrefslogtreecommitdiff
path: root/cmake/ProtoBuf.cmake
diff options
context:
space:
mode:
authorphilkr <philkr@users.noreply.github.com>2015-02-18 08:38:33 -0800
committerphilkr <philkr@users.noreply.github.com>2015-02-18 09:27:13 -0800
commitd1238e14fa4ef7089d85e91cf3339699b89590e0 (patch)
treed73825620991f5fead758e039d85aa417d74b3e9 /cmake/ProtoBuf.cmake
parent5e64f5a7d174fc0a4e503c56700db291cb68e26f (diff)
downloadcaffeonacl-d1238e14fa4ef7089d85e91cf3339699b89590e0.tar.gz
caffeonacl-d1238e14fa4ef7089d85e91cf3339699b89590e0.tar.bz2
caffeonacl-d1238e14fa4ef7089d85e91cf3339699b89590e0.zip
Changing CMAKE_SOURCE/BINARY_DIR to PROJECT_SOURCE/BINARY_DIR
Diffstat (limited to 'cmake/ProtoBuf.cmake')
-rw-r--r--cmake/ProtoBuf.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/ProtoBuf.cmake b/cmake/ProtoBuf.cmake
index bb63c9ed..8946d66c 100644
--- a/cmake/ProtoBuf.cmake
+++ b/cmake/ProtoBuf.cmake
@@ -22,8 +22,8 @@ if(PROTOBUF_FOUND)
endif()
# place where to generate protobuf sources
-set(proto_gen_folder "${CMAKE_BINARY_DIR}/include/caffe/proto")
-include_directories(SYSTEM "${CMAKE_BINARY_DIR}/include")
+set(proto_gen_folder "${PROJECT_BINARY_DIR}/include/caffe/proto")
+include_directories(SYSTEM "${PROJECT_BINARY_DIR}/include")
set(PROTOBUF_GENERATE_CPP_APPEND_PATH TRUE)