Skip to content

Commit

Permalink
Fixed CMake command API error. (BehaviorTree#122)
Browse files Browse the repository at this point in the history
Co-authored-by: Greg Kogut <[email protected]>
  • Loading branch information
2 people authored and Affonso-Gui committed Nov 12, 2022
1 parent 06e5145 commit c9a5606
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ ENABLE_TESTING()
function(CompileTest name)
add_executable(${name} ${name}.cpp groot_test_base.cpp ${RESOURCE_FILES} )
target_link_libraries(${name} PRIVATE Qt5::Gui Qt5::Test behavior_tree_editor)
add_test(${name} COMMAND ${name})
add_test(NAME ${name} COMMAND ${name})
endfunction()

set(RESOURCE_FILES
Expand All @@ -27,4 +27,3 @@ set(RESOURCE_FILES

CompileTest( editor_test )
CompileTest( replay_test )

0 comments on commit c9a5606

Please sign in to comment.