Hi,
I have a project that builds fine on Mac and Linux by disabling C/C++ and
building with only Fortran.
PROJECT(Noel LANGUAGES Fortran)
When I try to build on Windows, it seems that CMake is looking for variable
VCTargetsPath, here’s the error:
Setting environment for using Microsoft Visual Studio Shell 13.0 x64 tools.
CMake Error at CMakeLists.txt:3 (PROJECT):
Failed to run MSBuild command:
C:/Program Files (x86)/MSBuild/12.0/bin/MSBuild.exe
to get the value of VCTargetsPath:
This looks like a Visual C variable which is not installed on this system. Is
CMake looking in the registry for this variable or is it MSBuild.exe? I’m not
very Windows conversant so I could be completely off base here. Note that I’ve
installed Intel Fortran 17.0.4 and have run the ifortvars.bat file for arch
intel64.
Noel Belcourt
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to support the CMake community. For more
information on each offering, please visit:
CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Follow this link to subscribe/unsubscribe:
https://cmake.org/mailman/listinfo/cmake