[CMake] CMake with two C++ compilers

Hex hex7c3 at gmail.com
Wed May 8 07:38:23 EDT 2019


set the compiler for each build:

set(COMPILER /opt/gcc/bin)
cmake_force_c_compiler(  "${COMPILER}gcc" GNU)
cmake_force_cxx_compiler("${COMPILER}g++" GNU)



--
Sent from: http://cmake.3232098.n2.nabble.com/


More information about the CMake mailing list