Преглед на файлове

Another attempt to fix the project configuration issue.

Yao Wei Tjong 姚伟忠 преди 11 години
родител
ревизия
702eb09b64
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      Source/CMake/Modules/GetUrho3DRevision.cmake

+ 1 - 1
Source/CMake/Modules/GetUrho3DRevision.cmake

@@ -22,7 +22,7 @@
 
 # Get Urho3D library revision number
 
-if (DEFINED ENV{CI} AND DEFINED ENV{RELEASE_TAG})
+if (DEFINED ENV{CI} AND NOT "$ENV{RELEASE_TAG}" STREQUAL "")
     # Use the release tag provided by the CI server, this is important because git describe command will be off by one commit in the CI mirror branches
     set (LIB_REVISION $ENV{RELEASE_TAG})
     set (GIT_EXIT_CODE 0)