diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2016-10-17 13:33:47 -0700 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2016-10-17 13:33:47 -0700 |
| commit | 99623d66c8ec2c833d9662547f479a3cd8dfab39 (patch) | |
| tree | 8af77cfb01c3556930e00844b43eaa818da74e00 | |
| parent | 66772470ec6a30bf81063440cddc42c5f81944bf (diff) | |
| download | vcpkg-99623d66c8ec2c833d9662547f479a3cd8dfab39.tar.gz vcpkg-99623d66c8ec2c833d9662547f479a3cd8dfab39.zip | |
Fix usage of message(FATAL_ERROR,"blah") to message(FATAL_ERROR "blah")
| -rw-r--r-- | ports/ace/portfile.cmake | 3 | ||||
| -rw-r--r-- | ports/glew/portfile.cmake | 3 |
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() |
