summaryrefslogtreecommitdiffstats
path: root/Utilities/cm_kwiml.h
diff options
context:
space:
mode:
Diffstat (limited to 'Utilities/cm_kwiml.h')
-rw-r--r--Utilities/cm_kwiml.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/Utilities/cm_kwiml.h b/Utilities/cm_kwiml.h
index 2e1a108..ab2b80b 100644
--- a/Utilities/cm_kwiml.h
+++ b/Utilities/cm_kwiml.h
@@ -12,7 +12,14 @@
#ifndef cm_kwiml_h
#define cm_kwiml_h
-#include "KWIML/include/kwiml/abi.h"
-#include "KWIML/include/kwiml/int.h"
+/* Use the KWIML library configured for CMake. */
+#include "cmThirdParty.h"
+#ifdef CMAKE_USE_SYSTEM_KWIML
+# include <kwiml/abi.h>
+# include <kwiml/int.h>
+#else
+# include "KWIML/include/kwiml/abi.h"
+# include "KWIML/include/kwiml/int.h"
+#endif
#endif