diff --git a/include/libint2/config.h.cmake.in b/include/libint2/config.h.cmake.in index 723f28cb2..6c7a4f6d0 100644 --- a/include/libint2/config.h.cmake.in +++ b/include/libint2/config.h.cmake.in @@ -338,7 +338,8 @@ # endif #endif // __has_attribute #endif // LIBINT_MAYBE_UNUSED -#ifndef LIBINT_MAYBE_UNUSED // fallback +// below is fallback +#ifndef LIBINT_MAYBE_UNUSED #define LIBINT_MAYBE_UNUSED #endif diff --git a/src/lib/libint/CMakeLists.txt.export b/src/lib/libint/CMakeLists.txt.export index a6c9fce32..b7a7e4470 100644 --- a/src/lib/libint/CMakeLists.txt.export +++ b/src/lib/libint/CMakeLists.txt.export @@ -342,14 +342,13 @@ if (L2_BUILD_STATIC_LIBS) ) target_compile_definitions( int-static - PRIVATE - $<$:_CRT_NONSTDC_NO_DEPRECATE> - $<$:_CRT_NONSTDC_NO_WARNINGS> - $<$:_CRT_SECURE_NO_WARNINGS> INTERFACE $ PUBLIC $<$:_USE_MATH_DEFINES> + $<$:_CRT_NONSTDC_NO_DEPRECATE> + $<$:_CRT_NONSTDC_NO_WARNINGS> + $<$:_CRT_SECURE_NO_WARNINGS> ) target_compile_options( int-static