Merge pull request #924 from wind-river-cdt/cross-testing-patch-1

Fix #923 - support CMAKE_CROSSCOMPILING_EMULATOR for tests
pull/1495/head^2
Gennadiy Civil 7 years ago committed by GitHub
commit 8bc11c040a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      googletest/cmake/internal_utils.cmake

@ -230,7 +230,7 @@ find_package(PythonInterp)
# from the given source files with the given compiler flags.
function(cxx_test_with_flags name cxx_flags libs)
cxx_executable_with_flags(${name} "${cxx_flags}" "${libs}" ${ARGN})
add_test(${name} ${name})
add_test(NAME ${name} COMMAND ${name})
endfunction()
# cxx_test(name libs srcs...)

Loading…
Cancel
Save