mirror of https://github.com/mgba-emu/mgba.git
CMake: Fix ctest not detecting tests at root
This commit is contained in:
parent
287fd86e6a
commit
1084f378c1
|
@ -965,6 +965,9 @@ endif()
|
|||
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)
|
||||
|
|
Loading…
Reference in New Issue