mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-16 02:53:34 +08:00
cmake fix BUILD_URI
This commit is contained in:
@@ -69,10 +69,9 @@ target_include_directories(git_ver INTERFACE ${CMAKE_CURRENT_BINARY_DIR})
|
||||
add_dependencies(git_ver ver_gen)
|
||||
|
||||
# The URL for the elf file for crash logging
|
||||
set(BUILD_URI "localhost")
|
||||
if (DEFINED ENV{BUILD_URI})
|
||||
set(BUILD_URI $ENV{BUILD_URI})
|
||||
else()
|
||||
set(BUILD_URI "localhost")
|
||||
endif()
|
||||
|
||||
add_library(version version.c)
|
||||
|
||||
Reference in New Issue
Block a user