From 08269e54a9a74e06c9fb72720a216d8c4d4532a2 Mon Sep 17 00:00:00 2001 From: fanquake Date: Sat, 13 Aug 2022 13:55:38 +0100 Subject: [PATCH] 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 --- CMakeLists.txt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 71692d57961..2f52db104cf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -296,9 +296,10 @@ target_include_directories(crc32c $ ) -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