Skip to content

Commit

Permalink
try 9
Browse files Browse the repository at this point in the history
  • Loading branch information
loriab committed Jan 10, 2024
1 parent 0c9bc4d commit 01acdfe
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
7 changes: 6 additions & 1 deletion python/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,12 @@ if (pybind11_VERSION VERSION_GREATER_EQUAL 2.7.0)
target_compile_definitions(libint2-python PRIVATE NDEBUG=1)
endif()

message("QQQQ CXX_COMPILER_ID ${CXX_COMPILER_ID}")
message("QQQQ CMAKE_CXX_COMPILER_ID ${CMAKE_CXX_COMPILER_ID}")
target_compile_options(libint2-python
PRIVATE
#$<$<BOOL:${MSVC}>:/W4>
$<$<NOT:$<BOOL:${MSVC}>>:-Wall>
)

#find_package(Eigen3 3.3 REQUIRED)

Expand Down
5 changes: 3 additions & 2 deletions src/lib/libint/CMakeLists.txt.export
Original file line number Diff line number Diff line change
Expand Up @@ -342,11 +342,12 @@ if (L2_BUILD_STATIC_LIBS)
)
target_compile_definitions(
int-static
INTERFACE
$<BUILD_INTERFACE:__COMPILING_LIBINT2=1>
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>
)
Expand Down

0 comments on commit 01acdfe

Please sign in to comment.