Hot answers tagged

1

Your CMakeLists file in the base folder should not be changed. But rather in the src folder CMakeList you should add the following line: target_include_directories( mycontract PUBLIC "$ENV{BOOST_DIR}/include" ) Where BOOST_DIR is an environmental variable pointing to your boost folder. On my computer it is: /home/eosio/1.8/src/boost_1_70_0


1

I guess this error log is pretty much self-explaining: A line of code such as cmake_minimum_required(VERSION 3.5) should be added at the top of the file.(CMakeLists.txt) This became an error because the parental EOS CMakeLists.txt has this line, so child lists do not require it to be present when being built together.


Only top voted, non community-wiki answers of a minimum length are eligible