From b601f57d1773edef13504140546413d5a622812e Mon Sep 17 00:00:00 2001 From: Carles Fernandez Date: Thu, 12 May 2016 20:21:50 +0200 Subject: [PATCH] Fix building if gflags was built on the fly --- src/algorithms/PVT/libs/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/algorithms/PVT/libs/CMakeLists.txt b/src/algorithms/PVT/libs/CMakeLists.txt index e64975e1e..36e3db14b 100644 --- a/src/algorithms/PVT/libs/CMakeLists.txt +++ b/src/algorithms/PVT/libs/CMakeLists.txt @@ -45,5 +45,5 @@ include_directories( file(GLOB PVT_LIB_HEADERS "*.h") add_library(pvt_lib ${PVT_LIB_SOURCES} ${PVT_LIB_HEADERS}) source_group(Headers FILES ${PVT_LIB_HEADERS}) -add_dependencies(pvt_lib armadillo-${armadillo_RELEASE} glog-${glog_RELEASE}) +add_dependencies(pvt_lib armadillo-${armadillo_RELEASE} gflags-${gflags_RELEASE} glog-${glog_RELEASE}) target_link_libraries(pvt_lib ${Boost_LIBRARIES} ${GFlags_LIBS} ${GLOG_LIBRARIES} ${ARMADILLO_LIBRARIES})