ERROR: /bin/sh: cmake command not found on MacOS when Building With Conan

Error Message screencap

Got this error running Conan on MacOS, trying to build a package that required opencv 4.5.0 to build from source.

On first glance it looks like OpenCV is messed up or maybe conan but if I look up past all the red text I can see the real original cause of the issue. The red text…

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store