-
Notifications
You must be signed in to change notification settings - Fork 188
/
initial_cache.cmake.template
33 lines (28 loc) · 1.84 KB
/
initial_cache.cmake.template
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
28
29
30
31
32
33
# Mechanism via FindLIB.cmake
# ==============================
# Boost:
# -------
# Windows: Download the pre-built binaries from http://sourceforge.net/projects/boost/files/boost-binaries/ for VS2013 (msvc-12 64bit).
# Set the windows PATH variable to "<YOUR_BOOST_DIRECTORY>\lib64-msvc-12.0" and CMake will find it.
# Linux: Boost can usually be installed via a package manager (e.g. apt-get install boost-all-dev) and this variable can be left uncommented.
#set(BOOST_ROOT "/home/user/boost/install" CACHE PATH "Boost search location" FORCE)
# Eigen3:
# -------
# Windows: Set to the path of the unzipped Eigen3 file.
#set(EIGEN3_INCLUDE_DIR "C:\\eigen\\eigen-10219c95fe65\\" CACHE PATH "Directory of the Eigen3 headers" FORCE)
# Linux: Can be left empty when installed system-wide. (Note: Doesn't work with Eigen 3.0.5 from Ubuntu 12.04). Otherwise, set the path manually.
#set(EIGEN3_INCLUDE_DIR "/home/user/eigen-10219c95fe65/" CACHE PATH "Directory of the Eigen3 headers" FORCE)
# Mechanism via ConfigLIB.cmake in 3rd party library directory
# ==============================
# OpenCV:
# -------
# Windows: Download the package from opencv.org, use 2.4.7.2 or never. It includes binaries for VS2013. Set this path accordingly.
#set(OpenCV_DIR "C:\\opencv\\install" CACHE PATH "Location of OpenCVConfig.cmake" FORCE)
# Linux: Usually can be left blank but it can be used if OpenCV is not found.
#set(OpenCV_DIR "/home/user/opencv/install/share/OpenCV" CACHE PATH "Location of OpenCVConfig.cmake" FORCE)
# Configuration options
# ==============================
set(BUILD_TESTS OFF CACHE BOOL "Builds the unit tests." FORCE)
set(BUILD_EXAMPLES ON CACHE BOOL "Build the example hello-world applications." FORCE)
set(BUILD_APPS ON CACHE BOOL "Build the RCR landmark detection applications." FORCE)
set(BUILD_DOCUMENTATION OFF CACHE BOOL "Build the library documentation." FORCE)