Commit 0a781df3 authored by vladlosev's avatar vladlosev
Browse files

Fixes build failure on Windows/CMake (issue 111).

parent ab5b77c1
......@@ -20,7 +20,7 @@ set(BUILD_SHARED_LIBS OFF)
option(gmock_build_tests "Build all of Google Mock's own tests." OFF)
# A directory to find Google Test sources.
if (EXISTS gtest/CMakeLists.txt)
if (EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/gtest/CMakeLists.txt")
set(gtest_dir gtest)
else()
set(gtest_dir ../gtest)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment