From: Leonardo Florez-Valencia Date: Tue, 21 Jun 2016 04:49:16 +0000 (-0500) Subject: ... X-Git-Tag: v0.1~138 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=b689862afd79f8fdc07a10153404936110ccb440;p=cpPlugins.git ... --- diff --git a/lib/cpPlugins/Interface.cxx b/lib/cpPlugins/Interface.cxx index f7ec07e..e300d6f 100644 --- a/lib/cpPlugins/Interface.cxx +++ b/lib/cpPlugins/Interface.cxx @@ -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 diff --git a/lib/cpPlugins_Instances/CMakeLists.txt b/lib/cpPlugins_Instances/CMakeLists.txt index 1bfd0c5..cece9b5 100644 --- a/lib/cpPlugins_Instances/CMakeLists.txt +++ b/lib/cpPlugins_Instances/CMakeLists.txt @@ -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