CMake: Disable unit tests in gcc
Some checks are pending
Generate Translation Template / Generate Translation Template (push) Waiting to run
Build RPCS3 / RPCS3 Linux ubuntu-24.04 gcc (push) Waiting to run
Build RPCS3 / RPCS3 Linux ubuntu-24.04-arm clang (push) Waiting to run
Build RPCS3 / RPCS3 Linux ubuntu-24.04 clang (push) Waiting to run
Build RPCS3 / RPCS3 Windows (push) Waiting to run

This commit is contained in:
Megamouse 2025-04-30 13:45:11 +02:00
parent b6a3754ee5
commit c792db2c60

View file

@ -187,7 +187,9 @@ if (NOT ANDROID)
endif()
# Unit tests
if(BUILD_RPCS3_TESTS)
if(BUILD_RPCS3_TESTS AND CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_C_COMPILER_ID STREQUAL "GNU")
message(STATUS "FIXME: Unit tests are currently not linking with GCC")
elseif(BUILD_RPCS3_TESTS)
enable_testing()
find_package(GTest REQUIRED)