mirror of
https://github.com/monero-project/monero.git
synced 2024-12-25 04:59:43 +00:00
blockchain_import: Pass ARCH_WIDTH macro if 32-bit or not.
This also avoids warnings.
This commit is contained in:
parent
1889c0e81c
commit
d258f6e63a
1 changed files with 4 additions and 4 deletions
|
@ -99,9 +99,9 @@ target_link_libraries(blockchain_converter
|
||||||
blockchain_db
|
blockchain_db
|
||||||
${CMAKE_THREAD_LIBS_INIT})
|
${CMAKE_THREAD_LIBS_INIT})
|
||||||
|
|
||||||
if(${ARCH_WIDTH} EQUAL 32)
|
if(ARCH_WIDTH)
|
||||||
target_compile_definitions(blockchain_converter
|
target_compile_definitions(blockchain_converter
|
||||||
PUBLIC -DARCH_WIDTH=32)
|
PUBLIC -DARCH_WIDTH=${ARCH_WIDTH})
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
add_dependencies(blockchain_converter
|
add_dependencies(blockchain_converter
|
||||||
|
@ -122,9 +122,9 @@ target_link_libraries(blockchain_import
|
||||||
p2p
|
p2p
|
||||||
${CMAKE_THREAD_LIBS_INIT})
|
${CMAKE_THREAD_LIBS_INIT})
|
||||||
|
|
||||||
if(${ARCH_WIDTH} EQUAL 32)
|
if(ARCH_WIDTH)
|
||||||
target_compile_definitions(blockchain_import
|
target_compile_definitions(blockchain_import
|
||||||
PUBLIC -DARCH_WIDTH=32)
|
PUBLIC -DARCH_WIDTH=${ARCH_WIDTH})
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
add_dependencies(blockchain_import
|
add_dependencies(blockchain_import
|
||||||
|
|
Loading…
Reference in a new issue