mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-01 03:07:20 +08:00
[libsodium] Disable tests
Also, this is a workaround for x64-windows-static taking forever in VS2017 15.5
This commit is contained in:
parent
d540915a3a
commit
1e6dd7b5d1
@ -1,3 +1,3 @@
|
||||
Source: libsodium
|
||||
Version: 1.0.15
|
||||
Version: 1.0.15-1
|
||||
Description: A modern and easy-to-use crypto library
|
||||
|
16
ports/libsodium/disable-tests.patch
Normal file
16
ports/libsodium/disable-tests.patch
Normal 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>
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user