mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-06-07 11:42:48 +08:00
[check]Fix always built as debug library. (#6135)
* [jemalloc]Fix dll generated when generating static library
* Revert "[jemalloc]Fix dll generated when generating static library"
This reverts commit a833bf5593
.
* [check]Fix always built as debug library.
This commit is contained in:
parent
3667328354
commit
4adbe06fef
@ -1,3 +1,3 @@
|
|||||||
Source: check
|
Source: check
|
||||||
Version: 0.12.0-1
|
Version: 0.12.0-2
|
||||||
Description: A unit testing framework for C
|
Description: A unit testing framework for C
|
||||||
|
15
ports/check/fix-build-debug-mode.patch
Normal file
15
ports/check/fix-build-debug-mode.patch
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||||
|
index 0d66a5d..3b9a72d 100644
|
||||||
|
--- a/CMakeLists.txt
|
||||||
|
+++ b/CMakeLists.txt
|
||||||
|
@@ -39,10 +39,6 @@ set(CHECK_VERSION
|
||||||
|
|
||||||
|
set(MEMORY_LEAKING_TESTS_ENABLED 1)
|
||||||
|
|
||||||
|
-###############################################################################
|
||||||
|
-# Set build features
|
||||||
|
-set(CMAKE_BUILD_TYPE Debug)
|
||||||
|
-
|
||||||
|
###############################################################################
|
||||||
|
# Option
|
||||||
|
option(CHECK_ENABLE_TESTS
|
@ -5,6 +5,8 @@ vcpkg_from_github(
|
|||||||
REF 0.12.0
|
REF 0.12.0
|
||||||
SHA512 f7b6452b69f999a90e86a8582d980c0c1b74ba5629ee34455724463ba62bfe3501ad0415aa771170f5c638a7a253f123bf87cbef25aadc6569a7a3a4d10fce90
|
SHA512 f7b6452b69f999a90e86a8582d980c0c1b74ba5629ee34455724463ba62bfe3501ad0415aa771170f5c638a7a253f123bf87cbef25aadc6569a7a3a4d10fce90
|
||||||
HEAD_REF master
|
HEAD_REF master
|
||||||
|
PATCHES
|
||||||
|
fix-build-debug-mode.patch
|
||||||
)
|
)
|
||||||
|
|
||||||
vcpkg_configure_cmake(
|
vcpkg_configure_cmake(
|
||||||
|
Loading…
Reference in New Issue
Block a user