X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=lib%2FcpPlugins%2FCMakeLists.txt;h=bb3bdb9f2bff1f12d4dcbe9ff5179dd23a0f9bb4;hb=107144983fb7d178ad07ccfd1b7c703671eb09aa;hp=7817df1e7a9fcf49673be79da35b725cb51de73b;hpb=b9fd406b0196ce00c4152da45572b8be3cb3c805;p=cpPlugins.git diff --git a/lib/cpPlugins/CMakeLists.txt b/lib/cpPlugins/CMakeLists.txt index 7817df1..bb3bdb9 100644 --- a/lib/cpPlugins/CMakeLists.txt +++ b/lib/cpPlugins/CMakeLists.txt @@ -29,14 +29,25 @@ 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 ) @@ -85,8 +96,11 @@ SET( SET( target_LIBRARIES - ${cpPlugins_LIBRARIES} + ${ITK_LIBRARIES} + ${VTK_LIBRARIES} + cpExtensions cpPlugins_tinyxml2 + ${cpPlugins_LIBRARIES} ) IF(NOT WIN32) SET( @@ -106,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}