X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FCMakeLists.txt;h=515422bc3c5b316906349ec137c4d001de7478c0;hb=2fc09af39b364b82ddf930be3fee40ca192218ff;hp=f20765db15245d06d899cfe091f7541e60f6a627;hpb=ffd7e9a2b669c2f444f652b866851ac87459c7df;p=clitk.git diff --git a/vv/CMakeLists.txt b/vv/CMakeLists.txt index f20765d..515422b 100644 --- a/vv/CMakeLists.txt +++ b/vv/CMakeLists.txt @@ -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}) @@ -215,8 +216,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) #=========================================================