Use GIT_FOUND instead of Git_FOUND variable
authorDaniel Koch <dkoch@nvidia.com>
Fri, 15 Dec 2017 14:01:26 +0000 (09:01 -0500)
committerDaniel Koch <dkoch@nvidia.com>
Fri, 15 Dec 2017 14:02:27 +0000 (09:02 -0500)
Git_FOUND seems to have been added in CMake 3.5.x
whereas GIT_FOUND was supported much earlier.
Without this change versions of CMake < 3.5.x end up with
'dEQP Core uknown (0xcafebabe)' output instead of the
correct GCID being emedded and thus they cannot be valid
for submissions.

VK-GL-CTS Issue: 911
Component: Framework

Change-Id: I8f459b9442e4b23db4872e380de97609893db455

framework/qphelper/CMakeLists.txt

index c3b62b0..2c4fb9d 100644 (file)
@@ -43,7 +43,7 @@ set(USE_RELEASE_INFO_FILE OFF)
 if (EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/qpReleaseInfo.inl")
        set(USE_RELEASE_INFO_FILE ON)
 
-elseif (EXISTS "${CMAKE_SOURCE_DIR}/.git" AND Git_FOUND)
+elseif (EXISTS "${CMAKE_SOURCE_DIR}/.git" AND GIT_FOUND)
        find_package(PythonInterp 2.7)
 
        if (PYTHON_EXECUTABLE)