Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

Tell CMake where to find the compiler by setting either the environment variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path to the compiler, or to the compiler name if it is in the PATH.

sudo apt-get update
sudo apt-get install -y build-essential
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Tell #CMake #find #compiler #setting #environment #variable #CMake #cache #entry #full #path #compiler
ADD COMMENT
Topic
Name
8+3 =