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

cmake hotfix

parent 25a9a549
No related branches found
No related tags found
1 merge request!13Main
Pipeline #17626 failed
......@@ -8,7 +8,7 @@ FetchContent_Declare(
SET(INSTALL_GTEST OFF) # Disable installation of googletest
FetchContent_MakeAvailable(googletest)
function(wolf_add_gtest target)
function(${PROJECT_NAME}_add_gtest target)
add_executable(${target} ${ARGN})
target_link_libraries(${target} gtest_main ${PLUGIN_NAME})
add_test(NAME ${target} COMMAND ${target})
......
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