]> Creatis software - clitk.git/blobdiff - vv/CMakeLists.txt
Merge branch 'master' of /home/dsarrut/clitk3.server
[clitk.git] / vv / CMakeLists.txt
index 34396de5fab977203fe4bc1f17c6c66990b47af6..1ddd5b83cdab95c5d7c3375a362e413331d6e42e 100644 (file)
@@ -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})
@@ -214,6 +216,7 @@ ELSE(WIN32)
   ADD_EXECUTABLE(vv vv.cxx)
 ENDIF(WIN32)
 
+#TARGET_LINK_LIBRARIES(vv vvLib)
 TARGET_LINK_LIBRARIES(vv vvLib)