summaryrefslogtreecommitdiffstats
path: root/Utilities/cm_uv.h
diff options
context:
space:
mode:
Diffstat (limited to 'Utilities/cm_uv.h')
-rw-r--r--Utilities/cm_uv.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Utilities/cm_uv.h b/Utilities/cm_uv.h
index 63ff597..baa9bfc 100644
--- a/Utilities/cm_uv.h
+++ b/Utilities/cm_uv.h
@@ -12,6 +12,12 @@
#ifndef cm_uv_h
#define cm_uv_h
+/* Use the libuv library configured for CMake. */
+#include "cmThirdParty.h"
+#ifdef CMAKE_USE_SYSTEM_LIBUV
+#include <uv.h>
+#else
#include <cmlibuv/include/uv.h>
+#endif
#endif