# e.g for gcc-6 and g++-6
export CC=/usr/bin/gcc-6
export CXX=/usr/bin/g++-6
cmake ..
make -j8
Created
April 6, 2022 12:53
-
-
Save bmegli/79623c94e41d23dcedad0a19f496d593 to your computer and use it in GitHub Desktop.
CMake with certain gcc/g++ version
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment