mirror of
				https://github.com/neovim/neovim.git
				synced 2025-11-04 01:34:25 +00:00 
			
		
		
		
	third-party: Create path in CopyFilesGlob.cmake
This commit is contained in:
		
							
								
								
									
										2
									
								
								third-party/cmake/CopyFilesGlob.cmake
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								third-party/cmake/CopyFilesGlob.cmake
									
									
									
									
										vendored
									
									
								
							@@ -9,6 +9,8 @@ if(NOT TO)
 | 
				
			|||||||
  message(FATAL_ERROR "TO must be set")
 | 
					  message(FATAL_ERROR "TO must be set")
 | 
				
			||||||
endif()
 | 
					endif()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					execute_process(COMMAND ${CMAKE_COMMAND} -E make_directory ${TO})
 | 
				
			||||||
 | 
					
 | 
				
			||||||
file(GLOB files ${FROM_GLOB})
 | 
					file(GLOB files ${FROM_GLOB})
 | 
				
			||||||
foreach(file ${files})
 | 
					foreach(file ${files})
 | 
				
			||||||
  execute_process(COMMAND ${CMAKE_COMMAND} -E copy ${file} ${TO} RESULT_VARIABLE rv)
 | 
					  execute_process(COMMAND ${CMAKE_COMMAND} -E copy ${file} ${TO} RESULT_VARIABLE rv)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user