From: Vivien Delmon Date: Thu, 16 Jun 2011 09:48:39 +0000 (+0200) Subject: Use Qt variables in vv/CMakeList.txt X-Git-Tag: v1.3.0~318^2~7 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=6f9b6f5da142c3c2e7c8a2ff8d0a517b90b240d3;p=clitk.git 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 --- 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})