mirror of
				https://github.com/eclipse/upm.git
				synced 2025-10-31 15:15:07 +03:00 
			
		
		
		
	examples/c/CMakeLists.txt: make sure C examples link only with C libs
Previously, C examples were being linked with the C++ libs. This worked, since currently (until ds18b20) all C++ libraries with C components simply wrapped the C componenets. Now we make sure that only the C libs are ever linked with the C examples. Signed-off-by: Jon Trulson <jtrulson@ics.com>
This commit is contained in:
		| @@ -23,7 +23,7 @@ macro(add_custom_example example_bin example_src example_module_list) | ||||
|       set(found_all_modules FALSE) | ||||
|     endif() | ||||
|     if (MODULE_LIST) | ||||
|       list(FIND MODULE_LIST ${module} index) | ||||
|       list(FIND MODULE_LIST ${module}-c index) | ||||
|       if (${index} EQUAL -1) | ||||
|         set(found_all_modules FALSE) | ||||
|       endif() | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Jon Trulson
					Jon Trulson