cmake: change warning message for unititialized TinyUSB
This commit is contained in:
		
				
					committed by
					
						
						Graham Sanderson
					
				
			
			
				
	
			
			
			
						parent
						
							cf3182021a
						
					
				
				
					commit
					760cb59c97
				
			@ -8,7 +8,7 @@ if (NOT PICO_TINYUSB_PATH)
 | 
				
			|||||||
    set(PICO_TINYUSB_PATH ${PROJECT_SOURCE_DIR}/lib/tinyusb)
 | 
					    set(PICO_TINYUSB_PATH ${PROJECT_SOURCE_DIR}/lib/tinyusb)
 | 
				
			||||||
    if (NOT EXISTS ${PICO_TINYUSB_PATH}/${TINYUSB_TEST_PATH})
 | 
					    if (NOT EXISTS ${PICO_TINYUSB_PATH}/${TINYUSB_TEST_PATH})
 | 
				
			||||||
        message(WARNING "TinyUSB submodule has not been initialized; USB support will be unavailable
 | 
					        message(WARNING "TinyUSB submodule has not been initialized; USB support will be unavailable
 | 
				
			||||||
         hint: try 'git submodule update --init'.")
 | 
					hint: try 'git submodule update --init' from your SDK directory (${PICO_SDK_PATH}).")
 | 
				
			||||||
    endif()
 | 
					    endif()
 | 
				
			||||||
elseif (NOT EXISTS ${PICO_TINYUSB_PATH}/${TINYUSB_TEST_PATH})
 | 
					elseif (NOT EXISTS ${PICO_TINYUSB_PATH}/${TINYUSB_TEST_PATH})
 | 
				
			||||||
    message(WARNING "PICO_TINYUSB_PATH specified but content not present.")
 | 
					    message(WARNING "PICO_TINYUSB_PATH specified but content not present.")
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user