diff --git a/include/armadillo_bits/config.hpp b/include/armadillo_bits/config.hpp index 1aa3b6b5..e9a65053 100644 --- a/include/armadillo_bits/config.hpp +++ b/include/armadillo_bits/config.hpp @@ -314,3 +314,8 @@ // Do not use these unless you know what you are doing. #define ARMA_AUX_LIBS #define ARMA_AUX_INCDIRS + + +#if defined(ARMA_WARN_LEVEL) + #pragma message ("WARNING: the ARMA_WARN_LEVEL option is not supported in this version of Armadillo") +#endif diff --git a/include/armadillo_bits/config.hpp.cmake b/include/armadillo_bits/config.hpp.cmake index 5def8a7a..b44ca813 100644 --- a/include/armadillo_bits/config.hpp.cmake +++ b/include/armadillo_bits/config.hpp.cmake @@ -314,3 +314,8 @@ // Do not use these unless you know what you are doing. #define ARMA_AUX_LIBS ${ARMA_LIBS} #define ARMA_AUX_INCDIRS ${CMAKE_REQUIRED_INCLUDES} + + +#if defined(ARMA_WARN_LEVEL) + #pragma message ("WARNING: the ARMA_WARN_LEVEL option is not supported in this version of Armadillo") +#endif