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()