mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-12-12 19:20:32 +00:00
Remove duplicate character if GROSMOSDR_PKG_VERSION contains a v (Fix)
This commit is contained in:
parent
fd9edf2486
commit
2d276526a8
@ -100,10 +100,8 @@ include(FindPackageHandleStandardArgs)
|
||||
find_package_handle_standard_args(GROSMOSDR DEFAULT_MSG GROSMOSDR_LIBRARIES GROSMOSDR_INCLUDE_DIR)
|
||||
|
||||
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}")
|
||||
set(GROSMOSDR_VERSION_AUX ${GROSMOSDR_PKG_VERSION})
|
||||
string(REGEX REPLACE "^v" "" GROSMOSDR_VERSION ${GROSMOSDR_VERSION_AUX})
|
||||
endif()
|
||||
|
||||
set_package_properties(GROSMOSDR PROPERTIES
|
||||
|
Loading…
Reference in New Issue
Block a user