From f88a769886b3171c24e2563912eb8430448429ff Mon Sep 17 00:00:00 2001
From: Rashad M <rashad.kanavath@c-s.fr>
Date: Thu, 8 Jan 2015 15:06:23 +0100
Subject: [PATCH] COMP: Use cmake variable ITKVNL_LIBRARIES instead of itkvcl

---
 Testing/Code/Common/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Testing/Code/Common/CMakeLists.txt b/Testing/Code/Common/CMakeLists.txt
index c4da6c17b2..fead0b4718 100644
--- a/Testing/Code/Common/CMakeLists.txt
+++ b/Testing/Code/Common/CMakeLists.txt
@@ -1375,7 +1375,7 @@ if(OTB_USE_MAPNIK)
   OTB_ADD_EXECUTABLE(otbCommonTests9 "${BasicCommon_SRCS9}" "OTBIO;OTBTesting;${MAPNIK_LIBRARY};${ICUUC_LIBRARY}")
 endif()
 add_executable(otbCommonTests11 otbCommonTests11.cxx ${BasicCommon_SRCS11})
-target_link_libraries(otbCommonTests11 OTBIO  OTBTesting itkvcl)
+target_link_libraries(otbCommonTests11 OTBIO  OTBTesting ${ITKVNL_LIBRARIES})
 
 OTB_ADD_EXECUTABLE(otbCommonTests12 "${BasicCommon_SRCS12}" "OTBIO;OTBTesting")
 OTB_ADD_EXECUTABLE(otbCommonTests13 "${BasicCommon_SRCS13}" "OTBIO;OTBTesting")
-- 
GitLab