[libsodium] Disable tests

Also, this is a workaround for x64-windows-static taking forever in VS2017 15.5
This commit is contained in:
Alexander Karatarakis 2017-12-06 18:08:03 -08:00
parent d540915a3a
commit 1e6dd7b5d1
3 changed files with 23 additions and 1 deletions

View File

@ -1,3 +1,3 @@
Source: libsodium
Version: 1.0.15
Version: 1.0.15-1
Description: A modern and easy-to-use crypto library

View File

@ -0,0 +1,16 @@
diff --git a/msvc-scripts/sodium.props b/msvc-scripts/sodium.props
index 41e1e47..3126455 100644
--- a/msvc-scripts/sodium.props
+++ b/msvc-scripts/sodium.props
@@ -17,9 +17,9 @@
<PreBuildEvent>
<Message>Process .in files</Message>
</PreBuildEvent>
- <PostBuildEvent>
+ <!-- <PostBuildEvent>
<Command>"$(SolutionDir)/test/default/wintest.bat" $(Configuration) $(Platform)</Command>
- </PostBuildEvent>
+ </PostBuildEvent> -->
<PostBuildEvent>
<Message>Run the test suite</Message>
</PostBuildEvent>

View File

@ -10,6 +10,12 @@ vcpkg_from_github(
HEAD_REF master
)
vcpkg_apply_patches(
SOURCE_PATH ${SOURCE_PATH}
PATCHES
${CMAKE_CURRENT_LIST_DIR}/disable-tests.patch
)
if (VCPKG_LIBRARY_LINKAGE STREQUAL "dynamic")
set(LIBSODIUM_RELEASE_CONFIGURATION ReleaseDLL)
set(LIBSODIUM_DEBUG_CONFIGURATION DebugDLL)