aboutsummaryrefslogtreecommitdiff
path: root/ports/cryptopp
diff options
context:
space:
mode:
Diffstat (limited to 'ports/cryptopp')
-rw-r--r--ports/cryptopp/CONTROL3
-rw-r--r--ports/cryptopp/portfile.cmake2
2 files changed, 3 insertions, 2 deletions
diff --git a/ports/cryptopp/CONTROL b/ports/cryptopp/CONTROL
index c65a43c90..04c25da70 100644
--- a/ports/cryptopp/CONTROL
+++ b/ports/cryptopp/CONTROL
@@ -1,3 +1,4 @@
Source: cryptopp
-Version: 8.1.0-1
+Version: 8.1.0-2
+Homepage: https://github.com/weidai11/cryptopp
Description: Crypto++ is a free C++ class library of cryptographic schemes.
diff --git a/ports/cryptopp/portfile.cmake b/ports/cryptopp/portfile.cmake
index ad6557f77..728436d59 100644
--- a/ports/cryptopp/portfile.cmake
+++ b/ports/cryptopp/portfile.cmake
@@ -27,7 +27,7 @@ file(COPY ${CMAKE_SOURCE_PATH}/cryptopp-config.cmake DESTINATION ${SOURCE_PATH})
file(COPY ${CMAKE_SOURCE_PATH}/CMakeLists.txt DESTINATION ${SOURCE_PATH})
# disable assembly on OSX to fix broken build
-if(APPLE)
+if (VCPKG_CMAKE_SYSTEM_NAME STREQUAL "Darwin")
set(CRYPTOPP_DISABLE_ASM "ON")
else()
set(CRYPTOPP_DISABLE_ASM "OFF")