diff options
author | Brad King <brad.king@kitware.com> | 2015-12-18 14:57:55 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-12-18 15:02:28 (GMT) |
commit | a5dd0c9d427d66f7e361b0aa714a0a41b65ae4f0 (patch) | |
tree | 2b9b3b773b966be74081982c51d7684f93f49083 /Utilities/cm_kwiml.h | |
parent | 036b6ef7c47ccb19f291d2f36df37aaf885b4ba8 (diff) | |
download | CMake-a5dd0c9d427d66f7e361b0aa714a0a41b65ae4f0.zip CMake-a5dd0c9d427d66f7e361b0aa714a0a41b65ae4f0.tar.gz CMake-a5dd0c9d427d66f7e361b0aa714a0a41b65ae4f0.tar.bz2 |
Add option to use a system-installed KWIML
Do not activate it with the general use-system-libs options for now
because KWIML is not commonly distributed or available.
Diffstat (limited to 'Utilities/cm_kwiml.h')
-rw-r--r-- | Utilities/cm_kwiml.h | 11 |
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 |