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(