From b689862afd79f8fdc07a10153404936110ccb440 Mon Sep 17 00:00:00 2001 From: Leonardo Florez-Valencia Date: Mon, 20 Jun 2016 23:49:16 -0500 Subject: [PATCH] ... --- lib/cpPlugins/Interface.cxx | 5 ++++- lib/cpPlugins_Instances/CMakeLists.txt | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) 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 -- 2.47.1