Last active
December 12, 2024 12:28
-
-
Save alastorid/ef04a9d018c89125582cff039a1ece4e 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