Skip to content

Commit

Permalink
STYLE: Use keyword style for HeaderTest target_link_libraries
Browse files Browse the repository at this point in the history
Use the more modern explicit keyword-style.
  • Loading branch information
thewtex authored and N-Dekker committed Dec 3, 2021
1 parent 6853d63 commit 1a599f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMake/ITKModuleHeaderTest.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ macro( itk_module_headertest _name )
${_test_num}
)
add_executable( ${_test_name} ${_header_test_src} )
target_link_libraries( ${_test_name} ${${_name}_LIBRARIES} itksys )
target_link_libraries( ${_test_name} PUBLIC ${${_name}_LIBRARIES} itksys )

add_dependencies(${_name}-all ${_test_name})
math( EXPR _test_num "${_test_num} + 1" )
Expand Down

0 comments on commit 1a599f4

Please sign in to comment.