Skip to content

Commit

Permalink
try 10
Browse files Browse the repository at this point in the history
  • Loading branch information
loriab committed Jan 10, 2024
1 parent 01acdfe commit 16103fb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
3 changes: 2 additions & 1 deletion include/libint2/config.h.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
7 changes: 3 additions & 4 deletions src/lib/libint/CMakeLists.txt.export
Original file line number Diff line number Diff line change
Expand Up @@ -342,14 +342,13 @@ if (L2_BUILD_STATIC_LIBS)
)
target_compile_definitions(
int-static
PRIVATE
$<$<BOOL:${MSVC}>:_CRT_NONSTDC_NO_DEPRECATE>
$<$<BOOL:${MSVC}>:_CRT_NONSTDC_NO_WARNINGS>
$<$<BOOL:${MSVC}>:_CRT_SECURE_NO_WARNINGS>
INTERFACE
$<BUILD_INTERFACE:__COMPILING_LIBINT2=1>
PUBLIC
$<$<BOOL:${MSVC}>:_USE_MATH_DEFINES>
$<$<BOOL:${MSVC}>:_CRT_NONSTDC_NO_DEPRECATE>
$<$<BOOL:${MSVC}>:_CRT_NONSTDC_NO_WARNINGS>
$<$<BOOL:${MSVC}>:_CRT_SECURE_NO_WARNINGS>
)
target_compile_options(
int-static
Expand Down

0 comments on commit 16103fb

Please sign in to comment.