mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-11-02 20:51:23 -07:00 
			
		
		
		
	CMake build process: Fix of the Perl Alien::Wx querying script.
This commit is contained in:
		
							parent
							
								
									0cb491e135
								
							
						
					
					
						commit
						d5c2c252a5
					
				
					 1 changed files with 9 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -19,6 +19,15 @@ execute_process(
 | 
			
		|||
use strict;
 | 
			
		||||
use warnings;
 | 
			
		||||
use Text::ParseWords;
 | 
			
		||||
 | 
			
		||||
BEGIN {
 | 
			
		||||
  # CMake sets the environment variables CC and CXX to the detected C compiler.
 | 
			
		||||
  # There is an issue with the Perl ExtUtils::CBuilder, which does not handle whitespaces
 | 
			
		||||
  # in the paths correctly on Windows, so we rather drop the CMake auto-detected paths.
 | 
			
		||||
  delete \$ENV{CC};
 | 
			
		||||
  delete \$ENV{CXX};
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
use Alien::wxWidgets;
 | 
			
		||||
use ExtUtils::CppGuess;
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue