Use PROJECT_NAME instead of CMAKE_PROJECT_NAME
CMAKE_PROJECT_NAME refers to the top-level project name, not the most recent project. So any CMake project that pulls this in as a dependency was in for a nasty surprise. https://cmake.org/cmake/help/latest/variable/CMAKE_PROJECT_NAME.html Signed-off-by: Dan Rose <dan@digilabs.io>
This commit is contained in:
		
							parent
							
								
									8ec68e1d7d
								
							
						
					
					
						commit
						960d4f7358
					
				
					 14 changed files with 46 additions and 46 deletions
				
			
		| 
						 | 
				
			
			@ -11,7 +11,7 @@
 | 
			
		|||
#
 | 
			
		||||
 | 
			
		||||
#
 | 
			
		||||
# CMake toolchain file generated by @CMAKE_PROJECT_NAME@
 | 
			
		||||
# CMake toolchain file generated by @PROJECT_NAME@
 | 
			
		||||
#
 | 
			
		||||
 | 
			
		||||
set(CMAKE_C_COMPILER "@CMAKE_C_COMPILER@")
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue