mirror of
https://github.com/wolfpld/tracy.git
synced 2026-06-08 08:33:48 +00:00
Disable debug functionality in ppqsort.
Apple's stdlib doesn't implement syncstream.
This commit is contained in:
14
cmake/ppqsort-nodebug.patch
Normal file
14
cmake/ppqsort-nodebug.patch
Normal file
@@ -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 <bit>
|
||||||
|
#include <execution>
|
||||||
|
|
||||||
|
-#ifndef NDEBUG
|
||||||
|
+//#ifndef NDEBUG
|
||||||
|
+#if 0
|
||||||
|
#include <bitset>
|
||||||
|
#include <iostream>
|
||||||
|
#include <syncstream>
|
||||||
@@ -187,5 +187,7 @@ CPMAddPackage(
|
|||||||
NAME PPQSort
|
NAME PPQSort
|
||||||
GITHUB_REPOSITORY GabTux/PPQSort
|
GITHUB_REPOSITORY GabTux/PPQSort
|
||||||
VERSION 1.0.5
|
VERSION 1.0.5
|
||||||
|
PATCHES
|
||||||
|
"${CMAKE_CURRENT_LIST_DIR}/ppqsort-nodebug.patch"
|
||||||
EXCLUDE_FROM_ALL TRUE
|
EXCLUDE_FROM_ALL TRUE
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user