From 04cc65424a6b3b0757f6f4d2fc80f1f3704082a3 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Fri, 14 Aug 2009 16:58:37 +0000 Subject: [PATCH] call unix2dos only on cygwin --- CMakeLists.txt | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f6b4c8b4d3..3ad5953ba2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -641,12 +641,14 @@ endmacro(unix2dos) if(WIN32) set(GMSH_BIN .) set(GMSH_DOC .) - unix2dos(GMSH_API) - unix2dos(WELCOME_FILE) - unix2dos(LICENSE_FILE) - unix2dos(CREDITS_FILE) - unix2dos(TUTORIAL_FILES) - unix2dos(DEMO_FILES) + if(CYGWIN) + unix2dos(GMSH_API) + unix2dos(WELCOME_FILE) + unix2dos(LICENSE_FILE) + unix2dos(CREDITS_FILE) + unix2dos(TUTORIAL_FILES) + unix2dos(DEMO_FILES) + endif(CYGWIN) else(WIN32) set(GMSH_BIN bin) set(GMSH_DOC share/doc/gmsh) -- GitLab