aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ports/ace/portfile.cmake3
-rw-r--r--ports/glew/portfile.cmake3
2 files changed, 2 insertions, 4 deletions
diff --git a/ports/ace/portfile.cmake b/ports/ace/portfile.cmake
index 301354cae..d72e92923 100644
--- a/ports/ace/portfile.cmake
+++ b/ports/ace/portfile.cmake
@@ -8,8 +8,7 @@ vcpkg_download_distfile(ARCHIVE
vcpkg_extract_source_archive(${ARCHIVE})
if (TRIPLET_SYSTEM_ARCH MATCHES "arm")
- message(FATAL_ERROR, "ARM is currently not supported.")
- return()
+ message(FATAL_ERROR "ARM is currently not supported.")
elseif (TRIPLET_SYSTEM_ARCH MATCHES "x86")
set(MSBUILD_PLATFORM "Win32")
else ()
diff --git a/ports/glew/portfile.cmake b/ports/glew/portfile.cmake
index 3b35830f6..416de51e5 100644
--- a/ports/glew/portfile.cmake
+++ b/ports/glew/portfile.cmake
@@ -10,8 +10,7 @@ vcpkg_extract_source_archive(${ARCHIVE_FILE})
IF (TRIPLET_SYSTEM_ARCH MATCHES "x86")
SET(BUILD_ARCH "Win32")
ELSEIF(TRIPLET_SYSTEM_ARCH MATCHES "arm")
- MESSAGE(FATAL_ERROR, " ARM is currently not supported.")
- RETURN()
+ MESSAGE(FATAL_ERROR " ARM is currently not supported.")
ELSE()
SET(BUILD_ARCH ${TRIPLET_SYSTEM_ARCH})
ENDIF()