mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-08-15 23:09:09 +00:00
CMake: Disable unit tests in gcc
This commit is contained in:
parent
b6a3754ee5
commit
c792db2c60
1 changed files with 3 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue