[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 a833bf5593be181e065af097732c78cb810888fd.

* [check]Fix always built as debug library.
This commit is contained in:
JackBoosY 2019-04-19 04:49:35 +08:00 committed by Victor Romero
parent 3667328354
commit 4adbe06fef
3 changed files with 18 additions and 1 deletions

View File

@ -1,3 +1,3 @@
Source: check
Version: 0.12.0-1
Version: 0.12.0-2
Description: A unit testing framework for C

View 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

View File

@ -5,6 +5,8 @@ vcpkg_from_github(
REF 0.12.0
SHA512 f7b6452b69f999a90e86a8582d980c0c1b74ba5629ee34455724463ba62bfe3501ad0415aa771170f5c638a7a253f123bf87cbef25aadc6569a7a3a4d10fce90
HEAD_REF master
PATCHES
fix-build-debug-mode.patch
)
vcpkg_configure_cmake(