From 0aa92925299d3117ffba9509d8957a70af7d4d64 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Leonardo=20Fl=C3=B3rez-Valencia?= Date: Thu, 19 Oct 2017 10:18:35 -0500 Subject: [PATCH] ... --- config/install_ivq.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/install_ivq.sh b/config/install_ivq.sh index e177331..5c6609e 100755 --- a/config/install_ivq.sh +++ b/config/install_ivq.sh @@ -116,7 +116,7 @@ $prefix/bin/cmake \ -DCMAKE_MACOSX_RPATH:BOOL=ON \ $vtk make -s -j$cores -k -make -s -j -k install +use_vtk=`make -j -k -s install | grep UseVTK | sed 's/.*: //'` ## -- Configure, build and install VTK mkdir -p $build_dir/itk @@ -129,6 +129,7 @@ $prefix/bin/cmake \ -DBUILD_DOCUMENTATION:BOOL=OFF \ -DBUILD_EXAMPLES:BOOL=OFF \ -DBUILD_TESTING:BOOL=OFF \ + -DVTK_DIR:PATH=`dirname $use_vtk` \ -DModule_ITKReview:BOOL=ON \ -DModule_ITKVtkGlue:BOOL=ON \ -DCMAKE_DEBUG_POSTFIX:STRING=$suffix \ -- 2.47.1