cmake fix BUILD_URI

This commit is contained in:
Daniel Agar
2018-07-17 20:35:15 -04:00
parent 33e86d25b9
commit a7969de738
+1 -2
View File
@@ -65,10 +65,9 @@ set_source_files_properties(${px4_git_ver_header} PROPERTIES GENERATED TRUE)
add_custom_target(ver_gen ALL DEPENDS ${px4_git_ver_header})
# 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_definitions(-DBUILD_URI=${BUILD_URI})