From b3fc9771e31647bd4987807a54e3d9b9ca44f70c Mon Sep 17 00:00:00 2001 From: Lars Bilke <lars.bilke@ufz.de> Date: Wed, 27 Sep 2017 23:30:53 +0200 Subject: [PATCH] [CMake] Add conan bin dir to dep search paths. --- scripts/cmake/packaging/InstallDependencies.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/cmake/packaging/InstallDependencies.cmake b/scripts/cmake/packaging/InstallDependencies.cmake index a3076119fb0..e41cbd54388 100644 --- a/scripts/cmake/packaging/InstallDependencies.cmake +++ b/scripts/cmake/packaging/InstallDependencies.cmake @@ -15,7 +15,7 @@ macro(InstallDependencies TARGET) if (VTK_BUILD_SHARED_LIBS) list(APPEND dirs ${vtkIOXML_RUNTIME_LIBRARY_DIRS}) endif() - list(APPEND dirs "/usr/local/lib") + list(APPEND dirs "/usr/local/lib;${CONAN_BIN_DIRS}") get_prerequisites(${TARGET_EXE} TARGET_DEPENDENCIES ${EXCLUDE_SYSTEM} 1 "" ${dirs}) if(PRE_INSTALL_RUN) message("-- Dependencies of target ${TARGET}:") -- GitLab