Skip to content
Snippets Groups Projects
Commit 1d3c968d authored by Rashad Kanavath's avatar Rashad Kanavath
Browse files

COMP: use ITKVNL_LIBRARIES cmake variable instead of itkvnl

link fails when using external ITK with external vxl.
parent 83cbf2de
No related branches found
No related tags found
No related merge requests found
......@@ -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()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment