diff options
author | Riccardo Spagni <ric@spagni.net> | 2016-02-20 17:09:13 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2016-02-20 17:09:13 +0200 |
commit | d6423a86d96f495126dfea36521605416bf15f81 (patch) | |
tree | d08b58851cf875fe98576f899a08bad21c316ca4 | |
parent | Merge pull request #675 (diff) | |
parent | blockchain_import: Pass ARCH_WIDTH macro if 32-bit or not. (diff) | |
download | monero-d6423a86d96f495126dfea36521605416bf15f81.tar.xz |
Merge pull request #676
d258f6e blockchain_import: Pass ARCH_WIDTH macro if 32-bit or not. (warptangent)
-rw-r--r-- | src/blockchain_utilities/CMakeLists.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/blockchain_utilities/CMakeLists.txt b/src/blockchain_utilities/CMakeLists.txt index 41c3098a0..96b30b83b 100644 --- a/src/blockchain_utilities/CMakeLists.txt +++ b/src/blockchain_utilities/CMakeLists.txt @@ -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 |