From d11b75e102921784cd1f6a2bfe7ec34b1c23c12f Mon Sep 17 00:00:00 2001 From: abitmore Date: Sat, 14 Jul 2018 11:43:49 -0400 Subject: [PATCH] CMakeList.txt minor update --- CMakeLists.txt | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index bf535ab3b4..afde6407d9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -54,13 +54,6 @@ LIST(APPEND BOOST_COMPONENTS thread locale) SET( Boost_USE_STATIC_LIBS ON CACHE STRING "ON or OFF" ) -OPTION( ASSET_BALANCE_SORTING "Keep account_balance objects sorted by asset and amount to be used in asset_api (ON OR OFF)" ON ) -if( ASSET_BALANCE_SORTING ) - MESSAGE( STATUS "Configurating ASSET_BALANCE_SORTING" ) - SET( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DASSET_BALANCE_SORTED" ) - SET( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DASSET_BALANCE_SORTED" ) -endif() - IF( WIN32 ) SET(BOOST_ROOT $ENV{BOOST_ROOT}) set(Boost_USE_MULTITHREADED ON) @@ -76,6 +69,13 @@ IF(NOT "${Boost_VERSION}" MATCHES "1.53(.*)") SET(Boost_LIBRARIES ${BOOST_LIBRARIES_TEMP} ${Boost_LIBRARIES}) ENDIF() +OPTION( ASSET_BALANCE_SORTING "Keep account_balance objects sorted by asset and amount, to be used in asset_api (ON OR OFF)" ON ) +if( ASSET_BALANCE_SORTING ) + MESSAGE( STATUS "Configurating ASSET_BALANCE_SORTING" ) + SET( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DASSET_BALANCE_SORTED" ) + SET( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DASSET_BALANCE_SORTED" ) +endif() + if( WIN32 ) message( STATUS "Configuring BitShares on WIN32")