diff --git a/cmake/ppqsort-nodebug.patch b/cmake/ppqsort-nodebug.patch new file mode 100644 index 00000000..57003db0 --- /dev/null +++ b/cmake/ppqsort-nodebug.patch @@ -0,0 +1,14 @@ +diff --git i/include/ppqsort/parameters.h w/include/ppqsort/parameters.h +index 115c3a1..3f4b669 100644 +--- i/include/ppqsort/parameters.h ++++ w/include/ppqsort/parameters.h +@@ -3,7 +3,8 @@ + #include + #include + +-#ifndef NDEBUG ++//#ifndef NDEBUG ++#if 0 + #include + #include + #include diff --git a/cmake/vendor.cmake b/cmake/vendor.cmake index 4ea4a6f1..b519de6e 100644 --- a/cmake/vendor.cmake +++ b/cmake/vendor.cmake @@ -187,5 +187,7 @@ CPMAddPackage( NAME PPQSort GITHUB_REPOSITORY GabTux/PPQSort VERSION 1.0.5 + PATCHES + "${CMAKE_CURRENT_LIST_DIR}/ppqsort-nodebug.patch" EXCLUDE_FROM_ALL TRUE )