Conan 2 requires adjustments to CMakeLists.txt. For the MATLAB/Octave client in particular,
CMakeLists.txt
basic_conan_setup
Related on cpplib side: