From 4467a957a498b93dbcaefbad97df24b43dfbc99d Mon Sep 17 00:00:00 2001
From: gcontini <1121667+gcontini@users.noreply.github.com>
Date: 周日, 08 3月 2020 22:16:09 +0800
Subject: [PATCH] fix tests

---
 cmake/Findlcc.cmake |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/cmake/Findlcc.cmake b/cmake/Findlcc.cmake
index 27f63b8..bc994eb 100644
--- a/cmake/Findlcc.cmake
+++ b/cmake/Findlcc.cmake
@@ -67,7 +67,7 @@
 		    if(GIT_SUBMODULE)
 		        message(STATUS "Submodule update")
 		        execute_process(COMMAND ${GIT_EXECUTABLE} submodule update --init --recursive
-		                        WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
+		                        WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
 		                        RESULT_VARIABLE GIT_SUBMOD_RESULT)
 		        if(NOT GIT_SUBMOD_RESULT EQUAL "0")
 		            set(failure_messge  "git submodule update --init failed with ${GIT_SUBMOD_RESULT}, please checkout submodules")

--
Gitblit v1.9.1