chrisburel / perlqt4

Automatically exported from code.google.com/p/perlqt4
Other
0 stars 0 forks source link

cmake discovery in Makefile.PL: wrong and maybe non-necessary #56

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. perl Makefile.PL on Windows

What is the expected output? What do you see instead?
Build going on

What version of PerlQt4 are you using? What version of Qt are you using? On
what operating system?
N/A

Please provide any additional information below.

On Windows, this is is not cmake, but cmake.exe.
But the real issue is that you should definitely not split path on ':' (this is 
; on Windows...), nor use /full/path/cmake (on Windows, this will be 
cmake.exe). Either use File::Which to test for cmake executable existence. 
Either do nothing and just system('cmake', @arguments) -;
Current version will always fail on Windows.

Original issue reported on code.google.com by jeandami...@gmail.com on 19 Feb 2014 at 7:40