Commit 34c78d46 authored by Guillaume Pasero's avatar Guillaume Pasero

COMP: VC10: header tests actually need some symbols

parent dd9fa80e
......@@ -90,6 +90,8 @@ macro( otb_module_headertest _name )
# OTBBoostAdapters depends only on OTBBoost,
# and OTBBoost_LIBRARIES can be empty, so check for it
add_dependencies(${_test_name} ${${_name}_LIBRARIES})
# this target_link should be needed only on WIN32
target_link_libraries(${_test_name} ${${_name}_LIBRARIES})
add_dependencies(${_name}-all ${_test_name})
math( EXPR _test_num "${_test_num} + 1" )
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment