Skip to content

Commit 68d3659

Browse files
committed
ci: disable converter on windows arm builds due to missing libraries
1 parent d6193dd commit 68d3659

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

plugins/SkyCultureMaker/CMakeLists.txt

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,14 @@ OPTION(SCM_SHOULD_ENABLE_CONVERTER "Attempt to enable Sky Culture Converter" TRU
66
SET(SCM_CONVERTER_ENABLED FALSE) # Default to disabled
77

88
IF(SCM_SHOULD_ENABLE_CONVERTER AND NOT (QT_VERSION_MAJOR EQUAL "5"))
9-
SET(SCM_CONVERTER_ENABLED TRUE)
10-
MESSAGE(STATUS "Sky Culture Converter will be enabled.")
9+
# Disable converter for Windows ARM64 builds due to missing ARM64 libraries
10+
IF(WIN32 AND CMAKE_SYSTEM_PROCESSOR MATCHES "ARM64|arm64")
11+
SET(SCM_CONVERTER_ENABLED FALSE)
12+
MESSAGE(STATUS "Sky Culture Converter is DISABLED for Windows ARM64 builds (missing ARM64 tidy/gettext libraries).")
13+
ELSE()
14+
SET(SCM_CONVERTER_ENABLED TRUE)
15+
MESSAGE(STATUS "Sky Culture Converter will be enabled.")
16+
ENDIF()
1117

1218
# download https://github.com/Stellarium/stellarium-skyculture-converter
1319
CPMAddPackage(

0 commit comments

Comments
 (0)