CMake fails if output destination folder is an external drive
CMake 3.28 and 3.29.4, Windows 11
Trying to generate solution from source files with defined CMake List file. It works perfectly if the output destination is on Windows' own drive(C:). However, it always fails if the destination folder is on an external drive, with the following error:
CMake Error at CMakeLists.txt:35 (project):
No CMAKE_C_COMPILER could be found.
CMake Error at CMakeLists.txt:35 (project):
No CMAKE_CXX_COMPILER could be found.
And of course, the errors above are NOT true. But it did fail every time.
Please investigate.
Edited by JX_TF