mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-22 04:11:16 -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,10 +64,10 @@ elseif (EXISTS "${SOURCE_DIR}/.git")
|
|||||||
endif ()
|
endif ()
|
||||||
message (STATUS "refspec: ${GIT_REFSPEC} - SHA1: ${GIT_SHA1}")
|
message (STATUS "refspec: ${GIT_REFSPEC} - SHA1: ${GIT_SHA1}")
|
||||||
file (WRITE "${BINARY_DIR}/scs_version.h.txt" "#define SCS_VERSION ${GIT_SHA1}\n")
|
file (WRITE "${BINARY_DIR}/scs_version.h.txt" "#define SCS_VERSION ${GIT_SHA1}\n")
|
||||||
else()
|
endif ()
|
||||||
|
else()
|
||||||
message (STATUS "No SCS found")
|
message (STATUS "No SCS found")
|
||||||
file (WRITE "${BINARY_DIR}/scs_version.h.txt" "#define SCS_VERSION\n")
|
file (WRITE "${BINARY_DIR}/scs_version.h.txt" "#define SCS_VERSION\n")
|
||||||
endif ()
|
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
# copy the file to the final header only if the version changes
|
# copy the file to the final header only if the version changes
|
||||||
|
Loading…
Reference in New Issue
Block a user