mirror of
				https://github.com/bytecodealliance/wasm-micro-runtime.git
				synced 2025-10-31 05:11:19 +00:00 
			
		
		
		
	samples/wasm-c-api: skip aot compilation unless necessary (#4239)
This commit is contained in:
		
							parent
							
								
									d053f5534a
								
							
						
					
					
						commit
						1996c18c4b
					
				|  | @ -129,7 +129,7 @@ if (${WAT2WASM_VERSION} VERSION_LESS 1.0.26) | ||||||
|   set(WAT2WASM_FLAGS "--enable-reference-types") |   set(WAT2WASM_FLAGS "--enable-reference-types") | ||||||
| endif () | endif () | ||||||
| 
 | 
 | ||||||
| if(${WAMR_BUILD_AOT} EQUAL 1) | if(${WAMR_BUILD_AOT} EQUAL 1 AND ${WAMR_BUILD_INTERP} EQUAL 0) | ||||||
|   ## locate wamrc |   ## locate wamrc | ||||||
|   find_program(WAMRC |   find_program(WAMRC | ||||||
|     wamrc |     wamrc | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 YAMAMOTO Takashi
						YAMAMOTO Takashi