]> Creatis software - cpPlugins.git/commitdiff
...
authorLeonardo Florez-Valencia <florez-l@javeriana.edu.co>
Tue, 21 Jun 2016 04:49:16 +0000 (23:49 -0500)
committerLeonardo Florez-Valencia <florez-l@javeriana.edu.co>
Tue, 21 Jun 2016 04:49:16 +0000 (23:49 -0500)
lib/cpPlugins/Interface.cxx
lib/cpPlugins_Instances/CMakeLists.txt

index f7ec07ef276bb08619f60286e00c67878484b863..e300d6fdb5112eddb110d98260e07d208f55b142 100644 (file)
@@ -35,7 +35,10 @@ Interface( )
         while( ( ent = readdir( dir ) ) != NULL )
         {
           std::string fname = *p + std::string( "/" ) + ent->d_name;
-          if( fname.find( "_Instances" ) != std::string::npos )
+          if(
+            fname.find( "_Instances" ) != std::string::npos ||
+            fname.find( "cpExtensions" ) != std::string::npos
+            )
             libs.push_back( fname );
 
         } // elihw
index 1bfd0c5716de0cd2683db27663f67f03402bb5eb..cece9b5a869a29a3e46080e20212ef8a199c3885 100644 (file)
@@ -91,6 +91,7 @@ FOREACH(i ${ITK_LIBRARIES})
   GET_FILENAME_COMPONENT(lib_name_${i} ${lib_${i}} NAME)
   LIST(APPEND cpPlugins_DynLibs ${lib_name_${i}})
 ENDFOREACH(i)
+
 CONFIGURE_FILE(
   cpPlugins_DynLibs.h.in
   ${PROJECT_BINARY_DIR}/lib/cpPlugins_Instances/cpPlugins_DynLibs.h