Skip to content

Commit 25f2d25

Browse files
authored
Merge pull request #1697 from martin-frbg/issue1696
Do not treat WIndows UWB builds as cross-compiling
2 parents 66fcdd5 + 73131fa commit 25f2d25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/prebuild.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ if (NOT NOFORTRAN)
8585
endif ()
8686

8787
# Cannot run getarch on target if we are cross-compiling
88-
if (DEFINED CORE AND CMAKE_CROSSCOMPILING)
88+
if (DEFINED CORE AND CMAKE_CROSSCOMPILING AND NOT (${HOST_OS} STREQUAL "WINDOWSSTORE"))
8989
# Write to config as getarch would
9090

9191
# TODO: Set up defines that getarch sets up based on every other target

0 commit comments

Comments
 (0)