diff options
| author | JackBoosY <47264268+JackBoosY@users.noreply.github.com> | 2019-04-19 04:49:35 +0800 |
|---|---|---|
| committer | Victor Romero <romerosanchezv@gmail.com> | 2019-04-18 13:49:35 -0700 |
| commit | 4adbe06fefb69b8b98f799ed022cab88eb7148cc (patch) | |
| tree | 6ecc23d61a195a2b113f128ac32f4ad005b1568b | |
| parent | 3667328354e81997411801944bb9aedd326e0326 (diff) | |
| download | vcpkg-4adbe06fefb69b8b98f799ed022cab88eb7148cc.tar.gz vcpkg-4adbe06fefb69b8b98f799ed022cab88eb7148cc.zip | |
[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.
| -rw-r--r-- | ports/check/CONTROL | 2 | ||||
| -rw-r--r-- | ports/check/fix-build-debug-mode.patch | 15 | ||||
| -rw-r--r-- | ports/check/portfile.cmake | 2 |
3 files changed, 18 insertions, 1 deletions
diff --git a/ports/check/CONTROL b/ports/check/CONTROL index 4627d0422..8deb787bc 100644 --- a/ports/check/CONTROL +++ b/ports/check/CONTROL @@ -1,3 +1,3 @@ Source: check
-Version: 0.12.0-1
+Version: 0.12.0-2
Description: A unit testing framework for C
diff --git a/ports/check/fix-build-debug-mode.patch b/ports/check/fix-build-debug-mode.patch new file mode 100644 index 000000000..edf430060 --- /dev/null +++ b/ports/check/fix-build-debug-mode.patch @@ -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
diff --git a/ports/check/portfile.cmake b/ports/check/portfile.cmake index 1713a39a9..f7561db19 100644 --- a/ports/check/portfile.cmake +++ b/ports/check/portfile.cmake @@ -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(
|
