mdcomp
mdcomp copied to clipboard
Missing FindSetEnv.cmake when building with VS 2019 command prompt
In case you are using VS 2019 command prompt to build the project and it throws next error:
CMake Error at CMakeLists.txt:211 (include):
include could not find requested file:
FindSetEnv
-- Configuring incomplete, errors occurred!
Then you only do:
- download file https://github.com/fmtlib/fmt/blob/master/support/cmake/FindSetEnv.cmake
- locate it at
C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.20\Modules