X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FcpPlugins%2FCMakeLists.txt;h=bb3bdb9f2bff1f12d4dcbe9ff5179dd23a0f9bb4;hb=107144983fb7d178ad07ccfd1b7c703671eb09aa;hp=8cf91bd571e21a05131b35c25265ef2309ca16f3;hpb=25bbcded53b31313762477b2f8dde29b5a845a34;p=cpPlugins.git diff --git a/lib/cpPlugins/CMakeLists.txt b/lib/cpPlugins/CMakeLists.txt index 8cf91bd..bb3bdb9 100644 --- a/lib/cpPlugins/CMakeLists.txt +++ b/lib/cpPlugins/CMakeLists.txt @@ -29,13 +29,26 @@ FILE(GLOB lib_SOURCES_CXX "*.cxx") IF(USE_QT4) SET( lib_QT_UI + ActorAxesProperties.ui + ActorImageProperties.ui + ActorPolyDataProperties.ui ) SET( lib_QT_Headers + ActorProperties.h + ActorAxesProperties.h + ActorImageProperties.h + ActorPolyDataProperties.h + ActorPropertiesQtDialog.h ParametersQtDialog.h ) SET( lib_QT_Sources + ActorProperties.cxx + ActorAxesProperties.cxx + ActorImageProperties.cxx + ActorPolyDataProperties.cxx + ActorPropertiesQtDialog.cxx ParametersQtDialog.cxx ) SET( @@ -83,14 +96,11 @@ SET( SET( target_LIBRARIES - cpPlugins_tinyxml2 - cpPlugins_ITKInstances_Base - cpPlugins_ITKInstances_Image - cpPlugins_ITKInstances_ImageIterators - cpPlugins_ITKInstances_ImageFilters - cpPlugins_ITKInstances_Paths - cpPlugins_ITKInstances_Mesh + ${ITK_LIBRARIES} ${VTK_LIBRARIES} + cpExtensions + cpPlugins_tinyxml2 + ${cpPlugins_LIBRARIES} ) IF(NOT WIN32) SET( @@ -110,6 +120,7 @@ SET_TARGET_PROPERTIES( VERSION "${prj_VER}" SOVERSION "${prj_sVER}" ) +ADD_DEPENDENCIES(${lib_NAME} ${cpPlugins_LIBRARIES}) GENERATE_EXPORT_HEADER( ${lib_NAME} BASE_NAME ${lib_NAME}