CMake build fails on Windows
Closed this issue · 3 comments
GoogleCodeExporter commented
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
Original comment by vladlosev
on 17 May 2010 at 8:03
- Added labels: Component-Scripts, OpSys-All, Usability
GoogleCodeExporter commented
Original comment by vladlosev
on 17 May 2010 at 8:03
- Changed state: Accepted
GoogleCodeExporter commented
This is fixed in revision 299.
Original comment by vladlosev
on 20 May 2010 at 10:18
- Changed state: Fixed