Skip to content

Commit

Permalink
amend a fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hebasto committed Jan 10, 2025
1 parent 6dff920 commit eb53c93
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/crypto/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,10 @@ add_library(bitcoin_crypto STATIC EXCLUDE_FROM_ALL
../support/cleanse.cpp
)

if(MSVC)
try_append_cxx_flags("/wd4146" TARGET bitcoin_crypto SKIP_LINK)
endif()
target_compile_options(bitcoin_crypto
PRIVATE
$<$<CXX_COMPILER_ID:MSVC>:/wd4146>
)

target_link_libraries(bitcoin_crypto
PRIVATE
Expand Down

0 comments on commit eb53c93

Please sign in to comment.