aboutsummaryrefslogtreecommitdiff
path: root/src/crc32c/CMakeLists.txt
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2022-08-13 13:55:38 +0100
committerfanquake <fanquake@gmail.com>2022-08-13 13:55:38 +0100
commit9546b3a2a3a4796a13f05edd1340bfc0fa4c0a75 (patch)
tree22e9b68ecbf3772fb69454359c1ec3d0dd7ccc2a /src/crc32c/CMakeLists.txt
parentaca0200e9408d802ce68c323ee6edeb93699ecb3 (diff)
parent08269e54a9a74e06c9fb72720a216d8c4d4532a2 (diff)
Update crc32c subtree to latest upstream master
Diffstat (limited to 'src/crc32c/CMakeLists.txt')
-rw-r--r--src/crc32c/CMakeLists.txt7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/crc32c/CMakeLists.txt b/src/crc32c/CMakeLists.txt
index 71692d5796..2f52db104c 100644
--- a/src/crc32c/CMakeLists.txt
+++ b/src/crc32c/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