Skip to content

Commit ea61996

Browse files
committed
fix(build): Disable test for windows arm64
CLANGARM64 does not have libatomic which used by googletest, disable it Signed-off-by: Coia Prant <[email protected]>
1 parent c299f9a commit ea61996

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

cmake/prep/options.cmake

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@ set(SUNSHINE_PUBLISHER_ISSUE_URL "https://app.lizardbyte.dev/support"
99

1010
option(BUILD_DOCS "Build documentation" ON)
1111
option(BUILD_TESTS "Build tests" ON)
12+
13+
# CLANGARM64 does not have libatomic which used by googletest, disable it
14+
if(MINGW AND CMAKE_SYSTEM_PROCESSOR MATCHES "ARM64")
15+
set(BUILD_TESTS ON CACHE BOOL "Build tests" FORCE)
16+
endif()
17+
1218
option(NPM_OFFLINE "Use offline npm packages. You must ensure packages are in your npm cache." OFF)
1319

1420
option(BUILD_WERROR "Enable -Werror flag." OFF)

0 commit comments

Comments
 (0)