diff options
author | fanquake <fanquake@gmail.com> | 2022-08-13 13:55:38 +0100 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2022-08-13 13:55:38 +0100 |
commit | 08269e54a9a74e06c9fb72720a216d8c4d4532a2 (patch) | |
tree | 5a1b5f7188bd2181e2a71d431fff282d50058e46 | |
parent | 1d44513f9b34f2a59c794474752025430285a68b (diff) |
Squashed 'src/crc32c/' changes from 0d624261ef..0bac72c455
0bac72c455 Merge bitcoin-core/crc32c-subtree#5: local, bugfix: Define `CRC32C_HAVE_CONFIG_H` macro for all targets
002cfa280e local, bugfix: Define `CRC32C_HAVE_CONFIG_H` macro for all targets
git-subtree-dir: src/crc32c
git-subtree-split: 0bac72c4552baf1cc9fe03ee30d6542cb7af2e04
-rw-r--r-- | CMakeLists.txt | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 71692d5796..2f52db104c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -296,9 +296,10 @@ target_include_directories(crc32c $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}> ) -target_compile_definitions(crc32c -PRIVATE - CRC32C_HAVE_CONFIG_H=1 +set_property( + TARGET crc32c_arm64 crc32c_sse42 crc32c + APPEND + PROPERTY COMPILE_DEFINITIONS CRC32C_HAVE_CONFIG_H ) set_target_properties(crc32c |