update Cmake list

This commit is contained in:
Xucong Zhang 2019-01-28 14:28:12 +01:00
parent 9698c9b2ff
commit e5943a29cd

View file

@ -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)
# 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_LIBRARY_DIRS ${CAFFE_INSTALL_DIR}/lib)
set(Caffe_LIBS lmdb glog caffe)
@ -28,7 +28,7 @@ set(Caffe_LIBS lmdb glog caffe)
option(USE_OPENFACE "with OpenFace" ON)
add_definitions(-DUSE_OPENFACE=1)
# OpenFace
set(OPENFACE_ROOT_DIR "/home/xucong/library/OpenFace")
set(OPENFACE_ROOT_DIR "YOUR_OPENFACE_DIRECTORY")
add_definitions(-DOPENFACE_DIR="${OPENFACE_ROOT_DIR}")
set(CLM_INCLUDE_DIRS ${OPENFACE_ROOT_DIR}/lib/local/LandmarkDetector/include)
set(CLM_LIBRARY_DIRS ${OPENFACE_ROOT_DIR}/build/lib/local/LandmarkDetector)