Hi Miguel,

The use of the windows or unix way is based solely on the following:

IF(WIN32)
 SET(WIN32_STYLE_FIND 1)
ENDIF(WIN32)
IF(MINGW)
 SET(WIN32_STYLE_FIND 0)
 SET(UNIX_STYLE_FIND 1)
ENDIF(MINGW)
IF(UNIX)
 SET(UNIX_STYLE_FIND 1)
ENDIF(UNIX)


I just want to mention, that the above code is wrong, since MINGW needs the WIN32_STYLE_FIND way to the unix way, only CYGWIN and MSYS need UNIX_STYLE_FIND 1 on WIN32. I already have a bug report file for that. Is there any chance that the fix gets into the 2.6.0 version of CMake?

Best Regards,
Werner

--
Dr. Werner Smekal
Institut fuer Allgemeine Physik
Technische Universitaet Wien
Wiedner Hauptstr 8-10
A-1040 Wien
Austria

email: [EMAIL PROTECTED]
web: http://www.iap.tuwien.ac.at/~smekal
phone: +43-(0)1-58801-13463 (office), +43-(0)1-58801-13469 (laboratory)
fax: +43-(0)1-58801-13499

_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to