mirror of
				https://github.com/hedge-dev/XenonRecomp.git
				synced 2025-10-30 07:11:38 +00:00 
			
		
		
		
	don't build sample and tests if included as a library
This commit is contained in:
		
							parent
							
								
									3e3c62ad82
								
							
						
					
					
						commit
						3a8c9941f7
					
				
					 1 changed files with 6 additions and 2 deletions
				
			
		|  | @ -33,5 +33,9 @@ project ("PowerRecomp-ALL") | |||
| add_subdirectory(PowerAnalyse) | ||||
| add_subdirectory(PowerRecomp) | ||||
| add_subdirectory(PowerUtils) | ||||
| 
 | ||||
| # Only build sample and tests if this is the top level project | ||||
| if (${CMAKE_CURRENT_SOURCE_DIR} STREQUAL ${CMAKE_SOURCE_DIR}) | ||||
|     add_subdirectory(PowerSample) | ||||
|     add_subdirectory(PowerTests) | ||||
| endif() | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Sajid
						Sajid