mirror of
https://github.com/monero-project/monero.git
synced 2024-10-01 11:49:47 -04:00
Merge pull request #676
d258f6e
blockchain_import: Pass ARCH_WIDTH macro if 32-bit or not. (warptangent)
This commit is contained in:
commit
d6423a86d9
@ -99,9 +99,9 @@ target_link_libraries(blockchain_converter
|
||||
blockchain_db
|
||||
${CMAKE_THREAD_LIBS_INIT})
|
||||
|
||||
if(${ARCH_WIDTH} EQUAL 32)
|
||||
if(ARCH_WIDTH)
|
||||
target_compile_definitions(blockchain_converter
|
||||
PUBLIC -DARCH_WIDTH=32)
|
||||
PUBLIC -DARCH_WIDTH=${ARCH_WIDTH})
|
||||
endif()
|
||||
|
||||
add_dependencies(blockchain_converter
|
||||
@ -122,9 +122,9 @@ target_link_libraries(blockchain_import
|
||||
p2p
|
||||
${CMAKE_THREAD_LIBS_INIT})
|
||||
|
||||
if(${ARCH_WIDTH} EQUAL 32)
|
||||
if(ARCH_WIDTH)
|
||||
target_compile_definitions(blockchain_import
|
||||
PUBLIC -DARCH_WIDTH=32)
|
||||
PUBLIC -DARCH_WIDTH=${ARCH_WIDTH})
|
||||
endif()
|
||||
|
||||
add_dependencies(blockchain_import
|
||||
|
Loading…
Reference in New Issue
Block a user