Skip to content
Snippets Groups Projects
Commit 6b797a55 authored by Joan Vallvé Navarro's avatar Joan Vallvé Navarro
Browse files

Update test/gtest/CMakeLists.txt

parent e76243e0
No related branches found
No related tags found
2 merge requests!451After cmake and const refactor,!445Resolve "Refactoring WOLF installation system"
Pipeline #10273 failed
This commit is part of merge request !445. Comments created here will be created in the context of that merge request.
......@@ -72,7 +72,7 @@ function(wolf_add_gtest target)
if(${CMAKE_VERSION} VERSION_LESS "3.11.0")
add_dependencies(${target} libgtest)
target_link_libraries(${target} libgtest)
target_include_directories(${target} ${GTEST_INCLUDE_DIRS})
target_include_directories(${target} PUBLIC ${GTEST_INCLUDE_DIRS})
else()
target_link_libraries(${target} PUBLIC gtest_main)
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