Commit e5943a29 authored by Xucong Zhang's avatar Xucong Zhang

update Cmake list

parent 9698c9b2
...@@ -19,7 +19,7 @@ find_package(Boost 1.5 COMPONENTS system filesystem timer thread program_options ...@@ -19,7 +19,7 @@ find_package(Boost 1.5 COMPONENTS system filesystem timer thread program_options
set(Boost_INCLUDE_DIRS ${Boost_INCLUDE_DIR} ${Boost_INCLUDE_DIR}/boost) set(Boost_INCLUDE_DIRS ${Boost_INCLUDE_DIR} ${Boost_INCLUDE_DIR}/boost)
# Caffe # Caffe
set(CAFFE_INSTALL_DIR "/home/xucong/library/caffe/build/install") set(CAFFE_INSTALL_DIR "YOUR_CAFFE_DIRECTORY/build/install")
set(Caffe_INCLUDE_DIRS ${CAFFE_INSTALL_DIR}/include) set(Caffe_INCLUDE_DIRS ${CAFFE_INSTALL_DIR}/include)
set(Caffe_LIBRARY_DIRS ${CAFFE_INSTALL_DIR}/lib) set(Caffe_LIBRARY_DIRS ${CAFFE_INSTALL_DIR}/lib)
set(Caffe_LIBS lmdb glog caffe) set(Caffe_LIBS lmdb glog caffe)
...@@ -28,7 +28,7 @@ set(Caffe_LIBS lmdb glog caffe) ...@@ -28,7 +28,7 @@ set(Caffe_LIBS lmdb glog caffe)
option(USE_OPENFACE "with OpenFace" ON) option(USE_OPENFACE "with OpenFace" ON)
add_definitions(-DUSE_OPENFACE=1) add_definitions(-DUSE_OPENFACE=1)
# OpenFace # OpenFace
set(OPENFACE_ROOT_DIR "/home/xucong/library/OpenFace") set(OPENFACE_ROOT_DIR "YOUR_OPENFACE_DIRECTORY")
add_definitions(-DOPENFACE_DIR="${OPENFACE_ROOT_DIR}") add_definitions(-DOPENFACE_DIR="${OPENFACE_ROOT_DIR}")
set(CLM_INCLUDE_DIRS ${OPENFACE_ROOT_DIR}/lib/local/LandmarkDetector/include) set(CLM_INCLUDE_DIRS ${OPENFACE_ROOT_DIR}/lib/local/LandmarkDetector/include)
set(CLM_LIBRARY_DIRS ${OPENFACE_ROOT_DIR}/build/lib/local/LandmarkDetector) set(CLM_LIBRARY_DIRS ${OPENFACE_ROOT_DIR}/build/lib/local/LandmarkDetector)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment