Skip to content

Commit 0de8a54

Browse files
authored
Update CMakeLists.txt
1 parent 9731134 commit 0de8a54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# Build info header
55
#
66

7-
if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/../.git")
7+
if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/../.git/index")
88
set(GIT_DIR "${CMAKE_CURRENT_SOURCE_DIR}/../.git")
99

1010
# Is git submodule

0 commit comments

Comments
 (0)