Hi everyone,

Is there a better way to check whether the platform support symlink
than this one:

if(WIN32)
  if(CYGWIN)
    set(HAVE_SYMLINK TRUE)
  else(CYGWIN)
    set(HAVE_SYMLINK FALSE)
  endif(CYGWIN)
else(WIN32)
  set(HAVE_SYMLINK TRUE)
endif(WIN32)

Regards,

-- 
Nicolas Desprès
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to