From 6f9b6f5da142c3c2e7c8a2ff8d0a517b90b240d3 Mon Sep 17 00:00:00 2001 From: Vivien Delmon Date: Thu, 16 Jun 2011 11:48:39 +0200 Subject: [PATCH] Use Qt variables in vv/CMakeList.txt Use ${QT_QTNETWORK_LIBRARY} instead of QtNetwork that didn't worked with window Qt library named QtNetwork4.lib --- vv/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vv/CMakeLists.txt b/vv/CMakeLists.txt index 4a98cbf..1ddd5b8 100644 --- a/vv/CMakeLists.txt +++ b/vv/CMakeLists.txt @@ -205,7 +205,7 @@ 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} QtNetwork) +SET(vvExternalLibs ${vvExternalLibs} ${QT_QTNETWORK_LIBRARY}) ADD_LIBRARY(vvLib ${vv_SRCS} ${vv_UI_CXX}) TARGET_LINK_LIBRARIES(vvLib ${vvExternalLibs}) -- 2.45.1