blob: 232f9c01d725e6d992e643861628367b98fba4f3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#
# Eigen 3
#
set(EIGEN_DIR "${TFLITE_DEPEND_DIR}/eigen")
file(GLOB_RECURSE EIGEN3_HDRS "${EIGEN_DIR}/*.h")
# NOTE From 3.x, CMake supports INTERFACE library feature. Unfortunately,
# CMake 2.8.12 (which Ubuntu 14.04 provides) does not support this
# library feature.
add_library(eigen3 STATIC ${EIGEN3_HDRS})
set_target_properties(eigen3 PROPERTIES LINKER_LANGUAGE CXX)
target_include_directories(eigen3 PUBLIC "${EIGEN_DIR}")
|