cmake fix BUILD_URI

This commit is contained in:
Daniel Agar
2018-07-17 21:03:27 -04:00
parent 8985403c00
commit 50b5e124d5
+1 -2
View File
@@ -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)