diff --git a/CMakeLists.txt b/CMakeLists.txt index fd0ca2ee..2f006aa0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -54,7 +54,8 @@ set(CMAKE_EXPORT_COMPILE_COMMANDS "ON") if (BUILD_PEERPLAYS_TESTNET) set(GRAPHENE_EGENESIS_JSON "${CMAKE_CURRENT_SOURCE_DIR}/genesis-testnet.json" CACHE PATH "location of the genesis.json to embed in the executable" ) - add_compile_definitions(BUILD_PEERPLAYS_TESTNET=1) + #add_compile_definitions(BUILD_PEERPLAYS_TESTNET=1) + add_definitions(-DBUILD_PEERPLAYS_TESTNET=1) message ("\n====================\nBuilding for Testnet\n====================\n") else (BUILD_PEERPLAYS_TESTNET) set(GRAPHENE_EGENESIS_JSON "${CMAKE_CURRENT_SOURCE_DIR}/genesis-mainnet.json" CACHE PATH "location of the genesis.json to embed in the executable" )