]> Creatis software - clitk.git/commitdiff
Use Qt variables in vv/CMakeList.txt
authorVivien Delmon <vivien.delmon@creatis.insa-lyon.fr>
Thu, 16 Jun 2011 09:48:39 +0000 (11:48 +0200)
committerVivien Delmon <vivien.delmon@creatis.insa-lyon.fr>
Thu, 16 Jun 2011 09:48:39 +0000 (11:48 +0200)
Use ${QT_QTNETWORK_LIBRARY} instead of QtNetwork that didn't worked with
window Qt library named QtNetwork4.lib

vv/CMakeLists.txt

index 4a98cbf17b1b6a306eb23892b6eb1fe4ddb126a4..1ddd5b83cdab95c5d7c3375a362e413331d6e42e 100644 (file)
@@ -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})