We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0803bb commit 79e089fCopy full SHA for 79e089f
plutovg/cmake/plutovgConfig.cmake.in
@@ -1,3 +1,6 @@
1
@PACKAGE_INIT@
2
3
+include(CMakeFindDependencyMacro)
4
+find_dependency(Threads)
5
+
6
include("${CMAKE_CURRENT_LIST_DIR}/plutovgTargets.cmake")
plutovg/source/plutovg-font.c
@@ -125,7 +125,7 @@ typedef CRITICAL_SECTION plutovg_mutex_t;
125
126
typedef mtx_t plutovg_mutex_t;
127
128
-#define plutovg_mutex_init(mutex) mtx_init(mutex, mtx_recursive)
+#define plutovg_mutex_init(mutex) mtx_init(mutex, mtx_plain | mtx_recursive)
129
#define plutovg_mutex_lock(mutex) mtx_lock(mutex)
130
#define plutovg_mutex_unlock(mutex) mtx_unlock(mutex)
131
#define plutovg_mutex_destroy(mutex) mtx_destroy(mutex)
0 commit comments