-
-
Save Priiam/e7c576344f50b457c1dea7c5133726cb to your computer and use it in GitHub Desktop.
cmake cxx_std_17 is not known to CXX compiler but scl enabled devtoolset-X
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
target_compile_features The compiler feature "cxx_std_17" is not known to | |
CXX compiler | |
"GNU" | |
version 4.8.5. | |
solution: | |
scl enable devtoolset-7 bash | |
cmake .. -DCMAKE_CXX_COMPILER=`which g++` -DCMAKE_C_COMPILER=`which gcc` | |
You may need to run the cmake command twice. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment