Skip to content

Commit

Permalink
Merge pull request boscore#88 from EOSIO/use-new-find_package
Browse files Browse the repository at this point in the history
Update CMakeLists.txt
  • Loading branch information
arhag authored Sep 28, 2018
2 parents d3c8014 + 931bc77 commit a105558
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,7 @@ if(EOSIO_ROOT STREQUAL "" OR NOT EOSIO_ROOT)
set(EOSIO_ROOT "/usr/local/eosio")
endif()

if(EOSIO_CDT_ROOT STREQUAL "" OR NOT EOSIO_CDT_ROOT)
set(EOSIO_CDT_ROOT "/usr/local/eosio.cdt")
endif()

list(APPEND CMAKE_MODULE_PATH ${EOSIO_CDT_ROOT}/lib/cmake)
include(EosioWasmToolchain)
find_package(eosio.cdt)

### Check the version of eosio.cdt
string(FIND "${EOSIO_CDT_VERSION}" "${EOSIO_CDT_DEPENDENCY}" output)
Expand Down

0 comments on commit a105558

Please sign in to comment.