X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FcpPlugins%2FCMakeLists.txt;h=bb3bdb9f2bff1f12d4dcbe9ff5179dd23a0f9bb4;hb=107144983fb7d178ad07ccfd1b7c703671eb09aa;hp=565c9c1db882348d52e330f5c3547a8b01c064e0;hpb=e29096b7c37e89da4cda28bde9102cdb9ff159ea;p=cpPlugins.git diff --git a/lib/cpPlugins/CMakeLists.txt b/lib/cpPlugins/CMakeLists.txt index 565c9c1..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,17 +96,16 @@ SET( SET( target_LIBRARIES - cpPlugins_ITKInstances_Base - cpPlugins_ITKInstances_Image - cpPlugins_ITKInstances_ImageIterators - cpPlugins_ITKInstances_ImageFilters + ${ITK_LIBRARIES} ${VTK_LIBRARIES} + cpExtensions + cpPlugins_tinyxml2 + ${cpPlugins_LIBRARIES} ) IF(NOT WIN32) SET( target_LIBRARIES ${target_LIBRARIES} - cpPlugins_tinyxml2 dl ) ENDIF(NOT WIN32) @@ -108,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}