mdcomp icon indicating copy to clipboard operation
mdcomp copied to clipboard

Missing FindSetEnv.cmake when building with VS 2019 command prompt

Open fabri1983 opened this issue 2 years ago • 0 comments

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

fabri1983 avatar Jan 16 '24 14:01 fabri1983