mirror of
https://gitee.com/openharmony/third_party_libsnd
synced 2024-11-23 09:59:54 +00:00
cmake: Support pre-release versions
This commit is contained in:
parent
85aea74e57
commit
8cb0169f58
@ -1557,5 +1557,8 @@ if (BUILD_TESTING)
|
||||
endif ()
|
||||
|
||||
if (ENABLE_CPACK)
|
||||
if ((NOT CPACK_PACKAGE_VERSION) AND CPACK_PACKAGE_VERSION_STAGE)
|
||||
set(CPACK_PACKAGE_VERSION "${CPACK_PACKAGE_VERSION_FULL}")
|
||||
endif ()
|
||||
include (CPack)
|
||||
endif ()
|
||||
|
Loading…
Reference in New Issue
Block a user