okere-prince / googlemock

Automatically exported from code.google.com/p/googlemock
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

CMake build fails on Windows #111

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use CMake to Configure the googlemock project.

What is the expected output?
Successful configuration; no errors.

What do you see instead?

  CMake Error at CMakeLists.txt:55 (include):
    include could not find load file:

      ../gtest/cmake/internal_utils.cmake

  CMake Error at CMakeLists.txt:59 (fix_default_settings):
    Unknown CMake command "fix_default_settings".

Which version of Google Mock are you using? On what operating system?
svn trunk head. Windows Vista with Visual Studio 2008 and 2010.

Please provide any additional information below.
This is because the CMake code "if (EXISTS filename)" requires a full path
to the file. See attached patch the corrects the issue.

Original issue reported on code.google.com by ben.med...@gmail.com on 17 May 2010 at 5:25

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by vladlosev on 17 May 2010 at 8:03

GoogleCodeExporter commented 9 years ago

Original comment by vladlosev on 17 May 2010 at 8:03

GoogleCodeExporter commented 9 years ago
This is fixed in revision 299.

Original comment by vladlosev on 20 May 2010 at 10:18