forked from willyd/caffe-builder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
34 lines (21 loc) · 868 Bytes
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
cmake_minimum_required (VERSION 3.0 FATAL_ERROR)
set (CMAKE_INSTALL_PREFIX "${CMAKE_CURRENT_BINARY_DIR}/install" CACHE PATH "Path where to install binaries")
project (caffe-builder)
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/cmake/modules")
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/cmake/packages")
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/cmake")
set(BUILDEM_DOWNLOAD_CACHE ${CMAKE_CURRENT_BINARY_DIR}/DownloadCache)
include(buildem_all)
# order is important dependees go before dependers
include(ZLIB)
include(OpenCV) # depends on ZLIB
include(HDF5) # depends on ZLIB
include(Boost)
include(gflags)
include(glog) # depends (optionally) on gflags
include(lmdb)
include(snappy)
include(leveldb) # depends on Boost
include(protobuf)
include(OpenBLAS)
include(Caffe) # depends on all the above except cvmatio