Skip to content
Snippets Groups Projects
Commit 14c1c01b authored by Mederic Fourmy's avatar Mederic Fourmy
Browse files

[skip-ci] fix target_include_directories: argument scope is mandatory

parent 963a4925
No related branches found
No related tags found
2 merge requests!8Cmake refactoring was merged to main, merge back to devel also,!7Resolve "Adapt to core CMakeLists.txt refactor"
Pipeline #10866 skipped
......@@ -72,7 +72,7 @@ function(laser_scan_utils_add_gtest target)
if(${CMAKE_VERSION} VERSION_LESS "3.11.0")
add_dependencies(${target} libgtest)
target_link_libraries(${target} libgtest ${PLUGIN_NAME})
target_include_directories(${target} ${GTEST_INCLUDE_DIRS})
target_include_directories(${target} PUBLIC ${GTEST_INCLUDE_DIRS})
else()
target_link_libraries(${target} gtest_main ${PLUGIN_NAME})
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