From 73131fa30ac40029b51f49356cd0f1349a815e79 Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Tue, 24 Jul 2018 17:46:33 +0200 Subject: [PATCH] Do not treat WIndows UWB builds as cross-compiling --- cmake/prebuild.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/prebuild.cmake b/cmake/prebuild.cmake index b783ef9..f29bc3a 100644 --- a/cmake/prebuild.cmake +++ b/cmake/prebuild.cmake @@ -85,7 +85,7 @@ if (NOT NOFORTRAN) endif () # Cannot run getarch on target if we are cross-compiling -if (DEFINED CORE AND CMAKE_CROSSCOMPILING) +if (DEFINED CORE AND CMAKE_CROSSCOMPILING AND NOT (${HOST_OS} STREQUAL "WINDOWSSTORE")) # Write to config as getarch would # TODO: Set up defines that getarch sets up based on every other target -- 2.7.4