Overwrite CMake variables
Closed this issue · 0 comments
conr2d commented
CMAKE_AR and CMAKE_RANLIB is set manually in EosioWasmToolchain.cmake, because using eos prefix instead of eosio- makes it not possible to find necessary archiver or ranlib. However, CMake v3.10 overwrites those values by default ones, so it fails to build due to "archiver and ranlib not found". (CMake v3.15 has no issues)
It might be necessary to add "CACHE FILEPATH" for CMAKE_AR and CMAKE_RANLIB.