Fix usage of message(FATAL_ERROR,"blah") to message(FATAL_ERROR "blah")

This commit is contained in:
Alexander Karatarakis 2016-10-17 13:33:47 -07:00
parent 66772470ec
commit 99623d66c8
2 changed files with 2 additions and 4 deletions

View File

@ -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 ()

View File

@ -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()