mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-12 11:08:56 +00:00
Do not hard fail when running 'make unittests' without GTest.
This commit is contained in:
parent
6176424ac4
commit
2d71571be5
2 changed files with 15 additions and 12 deletions
|
@ -1,6 +1,3 @@
|
|||
add_custom_target(unittests)
|
||||
add_custom_command(TARGET unittests POST_BUILD COMMAND ${CMAKE_CTEST_COMMAND})
|
||||
|
||||
macro(add_dolphin_test target srcs libs)
|
||||
add_executable(Tests/${target} EXCLUDE_FROM_ALL ${srcs})
|
||||
target_link_libraries(Tests/${target} ${libs} ${GTEST_BOTH_LIBRARIES})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue