Edit Cmake file to use ENV variable to device if Uart is on debug header or not
This commit is contained in:
		@@ -56,9 +56,10 @@ add_link_options(-Wl,--gc-sections)
 | 
			
		||||
ENDIF(CMAKE_BUILD_TYPE STREQUAL "Debug")
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
if (DEFINED UART_ON_DEBUG_HEADER)
 | 
			
		||||
if (DEFINED ENV{UART_ON_DEBUG_HEADER})
 | 
			
		||||
    add_definitions(-DUART_ON_DEBUG_HEADER)
 | 
			
		||||
endif (DEFINED UART_ON_DEBUG_HEADER)
 | 
			
		||||
    message("UART forced to debug header")
 | 
			
		||||
endif (DEFINED ENV{UART_ON_DEBUG_HEADER})
 | 
			
		||||
 | 
			
		||||
add_subdirectory(base64-lib)
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user