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

[skip-ci] add PUBLIC to build test function

parent 91bd8d15
No related branches found
No related tags found
2 merge requests!35After cmake and const refactor,!34Resolve "Adapt to core CMakeLists.txt refactor"
......@@ -74,7 +74,7 @@ function(wolf_add_gtest target)
target_link_libraries(${target} libgtest ${PLUGIN_NAME})
target_include_directories(${target} PUBLIC ${GTEST_INCLUDE_DIRS})
else()
target_link_libraries(${target} PUBLIC gtest_main ${PLUGIN_NAME})
target_link_libraries(${target} gtest_main ${PLUGIN_NAME})
endif()
add_test(NAME ${target} COMMAND ${target})
endfunction()
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