I am building AVRO C++, but when I build with CMAKE, I have some troubles. My CMAKE version is 3.5, and Boost version is 1.73.0.
Error:
CMake Error at /usr/local/lib/cmake/Boost-1.73.0/BoostConfig.cmake:240 (if):
if given arguments:
"ALL" "IN_LIST" "Boost_FIND_COMPONENTS"
Unknown arguments specified
This behavior is specified in CMP0057. You should either bump the minimum CMake version of your project to 3.3:
cmake_minimum_required(VERSION 3.3)
or explicitly set the policy to the NEW behavior:
cmake_policy(SET CMP0057 NEW)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With