]> 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 455a407927e8fc66f3bfe69c87aace427e18ebc9..0ec835b4be4c2a97b39b2e3414c1f144c977f775 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 f8ac71ad118762a584da6459736ac0587d0a94db..60cdc20ad5913d68ee0f9da041bd38410dc5bf37 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( ... ) { }