Skip to content

Commit 08269e5

Browse files
committed
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
1 parent 1d44513 commit 08269e5

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

CMakeLists.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -296,9 +296,10 @@ target_include_directories(crc32c
296296
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>
297297
)
298298

299-
target_compile_definitions(crc32c
300-
PRIVATE
301-
CRC32C_HAVE_CONFIG_H=1
299+
set_property(
300+
TARGET crc32c_arm64 crc32c_sse42 crc32c
301+
APPEND
302+
PROPERTY COMPILE_DEFINITIONS CRC32C_HAVE_CONFIG_H
302303
)
303304

304305
set_target_properties(crc32c

0 commit comments

Comments
 (0)