diff --git a/Code/DisparityMap/CMakeLists.txt b/Code/DisparityMap/CMakeLists.txt
index 6969e5edf67d704dc4ed0c713c3ab8c8009e3a02..6eefdf8295be55b8f497472dcdbf786226fdab13 100644
--- a/Code/DisparityMap/CMakeLists.txt
+++ b/Code/DisparityMap/CMakeLists.txt
@@ -3,7 +3,7 @@
 file(GLOB OTBDisparityMap_SRCS "*.cxx" )
 
 add_library(OTBDisparityMap ${OTBDisparityMap_SRCS})
-target_link_libraries(OTBDisparityMap OTBCommon ${ITK_LIBRARIES} itkvnl)
+target_link_libraries(OTBDisparityMap OTBCommon ${ITK_LIBRARIES} ${ITKVNL_LIBRARIES})
 if(OTB_LIBRARY_PROPERTIES)
   set_target_properties(OTBDisparityMap PROPERTIES ${OTB_LIBRARY_PROPERTIES})
 endif()