CMake build process: Fix of the Perl Alien::Wx querying script.
This commit is contained in:
parent
0cb491e135
commit
d5c2c252a5
@ -19,6 +19,15 @@ execute_process(
|
|||||||
use strict;
|
use strict;
|
||||||
use warnings;
|
use warnings;
|
||||||
use Text::ParseWords;
|
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 Alien::wxWidgets;
|
||||||
use ExtUtils::CppGuess;
|
use ExtUtils::CppGuess;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user