]> Creatis software - cpPlugins.git/commitdiff
...
authorLeonardo Flórez-Valencia <florez-l@javeriana.edu.co>
Mon, 10 Oct 2016 20:54:11 +0000 (15:54 -0500)
committerLeonardo Flórez-Valencia <florez-l@javeriana.edu.co>
Mon, 10 Oct 2016 20:54:11 +0000 (15:54 -0500)
lib/Instances/CMakeLists.txt
lib/cpBaseQtApplication/MainWindow.cxx

index 455a407..0ec835b 100644 (file)
@@ -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$
index f8ac71a..60cdc20 100644 (file)
@@ -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( ... ) { }