Categories
Mastering Development

Installing only clang and cmake, CMake was unable to find a build program corresponding to “Unix Makefiles”. CMAKE_MAKE_PROGRAM is not set

I’m trying to use clang with CMake. Here’s my Dockerfile. You can see that I did not install build-essentials, only clang, because I dont want GNU compilers to be made default. My Dockerfile: FROM ubuntu:bionic WORKDIR /home/project RUN export DEBIAN_FRONTEND=noninteractive && apt-get update\ && apt-get install -y clang wget RUN wget https://github.com/Kitware/CMake/releases/download/v3.18.0-rc2/cmake-3.18.0-rc2-Linux-x86_64.sh && ls RUN […]