Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmake: Fix build with -DENABLE_HARDENING=OFF #248

Merged
merged 1 commit into from
Jul 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cmake/crc32c.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ target_compile_definitions(crc32c_common INTERFACE
)
target_link_libraries(crc32c_common INTERFACE
core_base_interface
hardening_interface
$<TARGET_NAME_IF_EXISTS:hardening_interface>
)

add_library(crc32c STATIC EXCLUDE_FROM_ALL
Expand Down
2 changes: 1 addition & 1 deletion cmake/leveldb.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ endif()

target_link_libraries(leveldb PRIVATE
core_base_interface
hardening_interface
$<TARGET_NAME_IF_EXISTS:hardening_interface>
nowarn_leveldb_interface
crc32c
)
Expand Down
4 changes: 2 additions & 2 deletions cmake/minisketch.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ if(HAVE_CLMUL)
target_link_libraries(minisketch_clmul
PRIVATE
core_base_interface
hardening_interface
$<TARGET_NAME_IF_EXISTS:hardening_interface>
minisketch_common
)
set_target_properties(minisketch_clmul PROPERTIES
Expand Down Expand Up @@ -83,7 +83,7 @@ target_include_directories(minisketch
target_link_libraries(minisketch
PRIVATE
core_base_interface
hardening_interface
$<TARGET_NAME_IF_EXISTS:hardening_interface>
minisketch_common
$<TARGET_NAME_IF_EXISTS:minisketch_clmul>
)
Expand Down
Loading