From 9a631ff52c415d420983b01cb6afa4dc7e7e0fae Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Tue, 7 Jul 2020 18:54:02 +1000 Subject: [PATCH] build: Don't build unit tests for libretro core --- src/CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 824af1178..2f5ea71d3 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,8 +1,11 @@ add_subdirectory(common) -add_subdirectory(common-tests) add_subdirectory(core) add_subdirectory(scmversion) +if(NOT BUILD_LIBRETRO_CORE) + add_subdirectory(common-tests) +endif() + if(ANDROID OR BUILD_SDL_FRONTEND OR BUILD_QT_FRONTEND OR BUILD_LIBRETRO_CORE) add_subdirectory(frontend-common) endif()