You should use a toolchain file or pass -DCMAKE_${LANG}_COMPILER=$path
on the command line. Projects should not set CMAKE_${LANG}_COMPILER}
themselves.
This Discourse thread is related.
You should use a toolchain file or pass -DCMAKE_${LANG}_COMPILER=$path
on the command line. Projects should not set CMAKE_${LANG}_COMPILER}
themselves.
This Discourse thread is related.