From f58a42ca9deb4b190a83787ce51622cdcefab9fc Mon Sep 17 00:00:00 2001 From: =?utf8?q?Leonardo=20Fl=C3=B3rez-Valencia?= Date: Mon, 10 Oct 2016 15:54:11 -0500 Subject: [PATCH] ... --- lib/Instances/CMakeLists.txt | 2 +- lib/cpBaseQtApplication/MainWindow.cxx | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/Instances/CMakeLists.txt b/lib/Instances/CMakeLists.txt index 455a407..0ec835b 100644 --- a/lib/Instances/CMakeLists.txt +++ b/lib/Instances/CMakeLists.txt @@ -29,6 +29,6 @@ TARGET_LINK_LIBRARIES(${_pfx}Meshes ${_pfx}BoundingBoxes) TARGET_LINK_LIBRARIES(${_pfx}ImageIterators ${_pfx}Images) TARGET_LINK_LIBRARIES(${_pfx}ImageFilters ${_pfx}Images ${_pfx}ImageIterators) TARGET_LINK_LIBRARIES(${_pfx}ImageNeighborhoodIterators ${_pfx}Images) -TARGET_LINK_LIBRARIES(${_pfx}Paths ${_pfx}Images) +TARGET_LINK_LIBRARIES(${_pfx}Paths ${VTK_LIBRARIES} ${_pfx}Images) ## eof - $RCSfile$ diff --git a/lib/cpBaseQtApplication/MainWindow.cxx b/lib/cpBaseQtApplication/MainWindow.cxx index f8ac71a..60cdc20 100644 --- a/lib/cpBaseQtApplication/MainWindow.cxx +++ b/lib/cpBaseQtApplication/MainWindow.cxx @@ -71,6 +71,7 @@ MainWindow( int argc, char* argv[], QApplication* app, QWidget* parent ) // Get the plugins interface this->m_Plugins = TPlugins::New( ); try { this->m_Plugins->AddEnvironments( env.str( ) ); } catch( ... ) { } + try { this->m_Plugins->LoadPaths( this->m_RunPath ); } catch( ... ) { } this->updateEnvironment( ); try { this->m_Plugins->SavePaths( this->m_RunPath ); } catch( ... ) { } -- 2.45.0