mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-25 05:38:46 -05:00
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
This commit is contained in:
parent
225b54b707
commit
86ee632dc7
@ -64,11 +64,11 @@ 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")
|
||||
endif ()
|
||||
else()
|
||||
message (STATUS "No SCS found")
|
||||
file (WRITE "${BINARY_DIR}/scs_version.h.txt" "#define SCS_VERSION\n")
|
||||
endif ()
|
||||
endif ()
|
||||
|
||||
# copy the file to the final header only if the version changes
|
||||
# reduces needless rebuilds
|
||||
|
Loading…
Reference in New Issue
Block a user