aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Camp <jjcamp@gmail.com>2016-10-28 02:13:50 -0400
committerJohn Camp <jjcamp@gmail.com>2016-10-28 02:17:57 -0400
commit7805bdff8cc38c83aaf2b5ea5ecc3042634fb017 (patch)
tree53d0710084e5b3a15cfaf7e3ebeaf8e71d57e404
parentb2e9efee976083ca6631a7db6c01551536c4384d (diff)
downloadvcpkg-7805bdff8cc38c83aaf2b5ea5ecc3042634fb017.tar.gz
vcpkg-7805bdff8cc38c83aaf2b5ea5ecc3042634fb017.zip
Added a fatal error for 64-bit builds.
-rw-r--r--ports/pdcurses/portfile.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/ports/pdcurses/portfile.cmake b/ports/pdcurses/portfile.cmake
index 4b993f73f..10ff551c0 100644
--- a/ports/pdcurses/portfile.cmake
+++ b/ports/pdcurses/portfile.cmake
@@ -1,4 +1,9 @@
include(${CMAKE_TRIPLET_FILE})
+
+if(VCPKG_TARGET_ARCHITECTURE STREQUAL x64)
+ message(FATAL_ERROR "64-bit builds are not supported for PDCurses.")
+endif()
+
include(vcpkg_common_functions)
set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src)
find_program(NMAKE nmake)