From 86ee632dc7441957f5ddf79e4271ab78185e2e61 Mon Sep 17 00:00:00 2001 From: Bill Somerville Date: Thu, 31 May 2018 00:09:28 +0000 Subject: [PATCH] Fix issue with source tarball builds git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/wsjtx/trunk@8742 ab8295b8-cf94-4d9e-aec4-7959e3be5d79 --- CMake/getsvn.cmake | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CMake/getsvn.cmake b/CMake/getsvn.cmake index 0af52fe28..a21e86f07 100644 --- a/CMake/getsvn.cmake +++ b/CMake/getsvn.cmake @@ -64,10 +64,10 @@ elseif (EXISTS "${SOURCE_DIR}/.git") endif () message (STATUS "refspec: ${GIT_REFSPEC} - SHA1: ${GIT_SHA1}") file (WRITE "${BINARY_DIR}/scs_version.h.txt" "#define SCS_VERSION ${GIT_SHA1}\n") - else() - message (STATUS "No SCS found") - file (WRITE "${BINARY_DIR}/scs_version.h.txt" "#define SCS_VERSION\n") endif () +else() + message (STATUS "No SCS found") + file (WRITE "${BINARY_DIR}/scs_version.h.txt" "#define SCS_VERSION\n") endif () # copy the file to the final header only if the version changes