all repos — mgba @ 1084f378c12735988fd555d45ef1451efe6becde

mGBA Game Boy Advance Emulator

CMake: Fix ctest not detecting tests at root
Vicki Pfau vi@endrift.com
Thu, 30 Jul 2020 19:02:30 -0700
commit

1084f378c12735988fd555d45ef1451efe6becde

parent

287fd86e6adc4ddc7209596495e1843c0bc503d8

1 files changed, 3 insertions(+), 0 deletions(-)

jump to
M CMakeLists.txtCMakeLists.txt

@@ -965,6 +965,9 @@

if(NOT USE_CMOCKA) set(BUILD_SUITE OFF) endif() +if(BUILD_TEST OR BUILD_SUITE OR BUILD_CINEMA) + enable_testing() +endif() add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/src/platform/test ${CMAKE_CURRENT_BINARY_DIR}/test) if(BUILD_EXAMPLE)