Fixed few MinGW build problems

This commit is contained in:
Andrey Kamaev
2012-05-20 18:45:19 +00:00
parent 5a3cbadfe3
commit c9027fecc0
3 changed files with 22 additions and 10 deletions

View File

@@ -1,4 +1,4 @@
if(MSVC AND NOT PYTHON_EXECUTABLE)
if(WIN32 AND NOT PYTHON_EXECUTABLE)
# search for executable with the same bitness as resulting binaries
# standard FindPythonInterp always prefers executable from system path
# this is really important because we are using the interpreter for numpy search and for choosing the install location