From 85a201c508c1beea3a36bdd27c070500b1a75560 Mon Sep 17 00:00:00 2001 From: Tadas Baltrusaitis Date: Wed, 25 Oct 2017 07:40:31 +0100 Subject: [PATCH] OpenBLAS cmake fixes. --- exe/FaceLandmarkImg/CMakeLists.txt | 2 +- lib/local/FaceAnalyser/CMakeLists.txt | 3 +++ lib/local/LandmarkDetector/CMakeLists.txt | 3 +++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/exe/FaceLandmarkImg/CMakeLists.txt b/exe/FaceLandmarkImg/CMakeLists.txt index 65097c9..a6966be 100644 --- a/exe/FaceLandmarkImg/CMakeLists.txt +++ b/exe/FaceLandmarkImg/CMakeLists.txt @@ -12,6 +12,6 @@ target_link_libraries(FaceLandmarkImg LandmarkDetector) target_link_libraries(FaceLandmarkImg FaceAnalyser) target_link_libraries(FaceLandmarkImg dlib) -target_link_libraries(FaceLandmarkImg ${OpenCV_LIBS} ${Boost_LIBRARIES} ${TBB_LIBRARIES}) +target_link_libraries(FaceLandmarkImg ${OpenCV_LIBS} ${Boost_LIBRARIES} ${TBB_LIBRARIES} ${BLAS_LIBRARIES}) install (TARGETS FaceLandmarkImg DESTINATION bin) diff --git a/lib/local/FaceAnalyser/CMakeLists.txt b/lib/local/FaceAnalyser/CMakeLists.txt index 41d0c13..46184cf 100644 --- a/lib/local/FaceAnalyser/CMakeLists.txt +++ b/lib/local/FaceAnalyser/CMakeLists.txt @@ -4,6 +4,9 @@ include_directories(${BLAS_ROOT_DIR}) include_directories(${BOOST_INCLUDE_DIR}) +#OpenBlas library +include_directories(../../3rdParty/OpenBLAS/include) + SET(SOURCE src/Face_utils.cpp src/FaceAnalyser.cpp diff --git a/lib/local/LandmarkDetector/CMakeLists.txt b/lib/local/LandmarkDetector/CMakeLists.txt index 9d5055c..1ff9878 100644 --- a/lib/local/LandmarkDetector/CMakeLists.txt +++ b/lib/local/LandmarkDetector/CMakeLists.txt @@ -3,6 +3,9 @@ include_directories(${TBB_ROOT_DIR}/include) include_directories(${BOOST_INCLUDE_DIR}) +#OpenBlas library +include_directories(../../3rdParty/OpenBLAS/include) + SET(SOURCE src/CCNF_patch_expert.cpp src/LandmarkDetectionValidator.cpp