No known features for CXX compiler "" #4371
Unanswered
JeySamir
asked this question in
Community Help
Replies: 1 comment 1 reply
-
@JeySamir
So you need just to pinpoint cmake where it can find compiler. You can use in CMakeLists.txt or just use (from command line) -DCMAKE_CXX_COPMPILER= -DCMAKE_C_COMPILER= |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Describe the issue
Failed to configure CMake project with GoogleTest dependency from terminal.
The main root CMakeList.txt
The BubbleSort CMakeList.txt
Steps to reproduce the problem
Configure project
What version of GoogleTest are you using?
v1.13.0
What operating system and version are you using?
Windows 11 Pro 22H2 x64
OS build 22621.2283
What compiler and version are you using?
from CLion toolchain
PS C:\Users\User0> ."E:/Programs/JetBrains/CLion 2023.1.1/bin/mingw/bin/gcc.exe" -v
gcc version 11.2.0 (GCC)
PS C:\Users\User0> ."E:/Programs/JetBrains/CLion 2023.1.1/bin/mingw/bin/g++.exe" -v
gcc version 11.2.0 (GCC)
What build system are you using?
PS C:\Users\User0> ."E:/Programs/JetBrains/CLion 2023.1.1/bin/cmake/win/x64/bin/cmake.exe" --version
cmake version 3.25.2 (CMake; JetBrains IDE bundle; build 4)
PS C:\Users\User0> ."E:/Programs/JetBrains/CLion 2023.1.1/bin/ninja/win/x64/ninja.exe" --version
1.10.2
Additional context
No response
Beta Was this translation helpful? Give feedback.
All reactions