Skip to content

Commit

Permalink
CMakeList.txt minor update
Browse files Browse the repository at this point in the history
  • Loading branch information
abitmore committed Jul 14, 2018
1 parent d5c35c5 commit d11b75e
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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")
Expand Down

0 comments on commit d11b75e

Please sign in to comment.