1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-12-13 11:40:33 +00:00

Remove duplicate character if GROSMOSDR_PKG_VERSION contains a v

This commit is contained in:
Carles Fernandez 2019-07-04 08:06:02 +02:00
parent 9ba6f4d670
commit fd9edf2486
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D

View File

@ -101,6 +101,9 @@ find_package_handle_standard_args(GROSMOSDR DEFAULT_MSG GROSMOSDR_LIBRARIES GROS
if(GROSMOSDR_PKG_VERSION)
set(GROSMOSDR_VERSION ${GROSMOSDR_PKG_VERSION})
set(KK "v1.2.3")
string(REGEX REPLACE "^v" "" KK_AUX KK)
message(STATUS "++++++++++++++++++++${KK_AUX}")
endif()
set_package_properties(GROSMOSDR PROPERTIES