X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FCMakeLists.txt;h=515422bc3c5b316906349ec137c4d001de7478c0;hb=9a80ea6d6a4cb304435b2bbdc4dda677036b0e2b;hp=d479cf01f9b70acd8c8c51effa5f8ad7a401bf32;hpb=e364f427e4e9076da84e8d7c094fe341d5cfafd1;p=clitk.git diff --git a/vv/CMakeLists.txt b/vv/CMakeLists.txt index d479cf0..515422b 100644 --- a/vv/CMakeLists.txt +++ b/vv/CMakeLists.txt @@ -19,6 +19,7 @@ SET(vv_TOOLS vvToolResample # vvToolExtractPatient # vvToolExtractLung + vvToolStructureSetManager vvToolMIP vvToolConvert ## with dummy vvToolConvert.ui @@ -62,7 +63,6 @@ SET(vv_COMMON_WITH_UI vvToolWidgetBase vvToolSimpleInputSelectorWidget vvToolInputSelectorWidget - vvToolStructureSetManager vvRegisterForm ) @@ -203,7 +203,8 @@ SET(foundationLibraries clitkCommon ${ITK_LIBRARIES} QVTK vtkHybrid) #========================================================= #Create binary and libs for tests -SET(vvExternalLibs clitkSegmentationGgoLib clitkDicomRTStruct ${toolLibs} ${foundationLibraries}) +SET(vvExternalLibs ${QT_QTNETWORK_LIBRARY} clitkSegmentationGgoLib clitkDicomRTStruct ${toolLibs} ${foundationLibraries}) +# QtNetwork is required by vvRegisterForm ADD_LIBRARY(vvLib ${vv_SRCS} ${vv_UI_CXX}) TARGET_LINK_LIBRARIES(vvLib ${vvExternalLibs}) @@ -214,6 +215,7 @@ ELSE(WIN32) ADD_EXECUTABLE(vv vv.cxx) ENDIF(WIN32) +#TARGET_LINK_LIBRARIES(vv vvLib) TARGET_LINK_LIBRARIES(vv vvLib) @@ -250,7 +252,7 @@ SET(CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_CURRENT_SOURCE_DIR}/ReadMe.txt") SET(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/License.txt") SET(CPACK_PACKAGE_VERSION_MAJOR "1") SET(CPACK_PACKAGE_VERSION_MINOR "2") -SET(CPACK_PACKAGE_VERSION_PATCH "1") +SET(CPACK_PACKAGE_VERSION_PATCH "2") SET(CPACK_PACKAGE_INSTALL_DIRECTORY "vv") SET(CPACK_STRIP_FILES TRUE)