X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FCMakeLists.txt;h=1ddd5b83cdab95c5d7c3375a362e413331d6e42e;hb=23b7035f329686b6f96ddc86bc0a2381f647900b;hp=f20765db15245d06d899cfe091f7541e60f6a627;hpb=f82c1eae81da548c4ddc5bb905200451c7662a0d;p=clitk.git diff --git a/vv/CMakeLists.txt b/vv/CMakeLists.txt index f20765d..1ddd5b8 100644 --- a/vv/CMakeLists.txt +++ b/vv/CMakeLists.txt @@ -204,6 +204,8 @@ SET(foundationLibraries clitkCommon ${ITK_LIBRARIES} QVTK vtkHybrid) #========================================================= #Create binary and libs for tests SET(vvExternalLibs clitkSegmentationGgoLib clitkDicomRTStruct ${toolLibs} ${foundationLibraries}) +# QtNetwork is required by vvRegisterForm +SET(vvExternalLibs ${vvExternalLibs} ${QT_QTNETWORK_LIBRARY}) ADD_LIBRARY(vvLib ${vv_SRCS} ${vv_UI_CXX}) TARGET_LINK_LIBRARIES(vvLib ${vvExternalLibs}) @@ -215,8 +217,7 @@ ELSE(WIN32) ENDIF(WIN32) #TARGET_LINK_LIBRARIES(vv vvLib) -# QtNetwork added specifically for Fedora build -TARGET_LINK_LIBRARIES(vv vvLib QtNetwork) +TARGET_LINK_LIBRARIES(vv vvLib) #=========================================================