diff options
author | Sebastien Barre <sebastien.barre@kitware.com> | 2001-10-23 22:30:05 (GMT) |
---|---|---|
committer | Sebastien Barre <sebastien.barre@kitware.com> | 2001-10-23 22:30:05 (GMT) |
commit | 4b7622b9aeda5f1937e13aaad6851234a1e60c92 (patch) | |
tree | 3c717cab4463073e8fd34778427871d7c986683f /Modules | |
parent | cc731ac54853118438bee0f9f5d9df2287ec615b (diff) | |
download | CMake-4b7622b9aeda5f1937e13aaad6851234a1e60c92.zip CMake-4b7622b9aeda5f1937e13aaad6851234a1e60c92.tar.gz CMake-4b7622b9aeda5f1937e13aaad6851234a1e60c92.tar.bz2 |
Cygwin mod
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/FindCygwin.cmake | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Modules/FindCygwin.cmake b/Modules/FindCygwin.cmake new file mode 100644 index 0000000..f63618c --- /dev/null +++ b/Modules/FindCygwin.cmake @@ -0,0 +1,19 @@ +# +# this module looks for Cygwin and some usual commands +# + +FIND_PATH(CYGWIN_INSTALL_PATH + cygwin.bat + "C:/Cygwin" + "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Cygnus Solutions\\Cygwin\\mounts v2\\/;native]" +) + +FIND_PROGRAM(RM + rm + ${CYGWIN_INSTALL_PATH}/bin +) + +FIND_PROGRAM(MV + mv + ${CYGWIN_INSTALL_PATH}/bin +) |