summaryrefslogtreecommitdiffstats
path: root/Utilities/cm_rhash.h
diff options
context:
space:
mode:
Diffstat (limited to 'Utilities/cm_rhash.h')
-rw-r--r--Utilities/cm_rhash.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Utilities/cm_rhash.h b/Utilities/cm_rhash.h
index 23d5409..c793627 100644
--- a/Utilities/cm_rhash.h
+++ b/Utilities/cm_rhash.h
@@ -3,6 +3,12 @@
#ifndef cm_rhash_h
#define cm_rhash_h
+/* Use the LibRHash library configured for CMake. */
+#include "cmThirdParty.h"
+#ifdef CMAKE_USE_SYSTEM_LIBRHASH
+#include <rhash.h>
+#else
#include <cmlibrhash/librhash/rhash.h>
+#endif
#endif