mirror of
https://github.com/cemu-project/vcpkg.git
synced 2025-02-23 11:07:10 +01:00
[string-theory]disable the tests
This commit is contained in:
parent
bb226b2acc
commit
2e72678146
@ -1,3 +1,3 @@
|
||||
Source: string-theory
|
||||
Version: 1.6
|
||||
Version: 1.6-1
|
||||
Description: Flexible C++11 string library with type-safe formatting.
|
||||
|
13
ports/string-theory/disableTests.patch
Normal file
13
ports/string-theory/disableTests.patch
Normal file
@ -0,0 +1,13 @@
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index cf79105..a29c209 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -230,5 +230,6 @@ install(FILES
|
||||
install(EXPORT string_theory-targets
|
||||
DESTINATION "${ST_INSTALL_CMAKE_DIR}/string_theory" COMPONENT devel)
|
||||
|
||||
-enable_testing()
|
||||
-add_subdirectory(test)
|
||||
+# Note:we do not mind the tests, which caused our library build failed ,so disable the tests
|
||||
+#enable_testing()
|
||||
+#add_subdirectory(test)
|
@ -7,7 +7,11 @@ vcpkg_from_github(
|
||||
SHA512 5bc99b6dfc2ab43d2812ee47dfbbeeb68106da39b2349799ab924f009270166ebb5508f87a37e634fbfa5495dd263697a582404650eedc5393722761c5ce2028
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
vcpkg_apply_patches(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
PATCHES
|
||||
${CMAKE_CURRENT_LIST_DIR}/disableTests.patch
|
||||
)
|
||||
if(VCPKG_LIBRARY_LINKAGE STREQUAL static)
|
||||
set(ST_BUILD_STATIC ON)
|
||||
else()
|
||||
|
Loading…
x
Reference in New Issue
Block a user