We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9731134 commit 0de8a54Copy full SHA for 0de8a54
common/CMakeLists.txt
@@ -4,7 +4,7 @@
4
# Build info header
5
#
6
7
-if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/../.git")
+if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/../.git/index")
8
set(GIT_DIR "${CMAKE_CURRENT_SOURCE_DIR}/../.git")
9
10
# Is git submodule
0 commit comments