ENH: use .exe on vms

This commit is contained in:
Bill Hoffman 2009-06-11 15:25:48 -04:00
parent b8b749aced
commit 8446a48054
2 changed files with 2 additions and 1 deletions

View File

@ -5,3 +5,4 @@ SET(CMAKE_C_CREATE_STATIC_LIBRARY
"<CMAKE_RANLIB> <TARGET>"
)
SET(CMAKE_CXX_CREATE_STATIC_LIBRARY ${CMAKE_C_CREATE_STATIC_LIBRARY})
SET(CMAKE_EXECUTABLE_SUFFIX ".exe") # .exe

View File

@ -431,7 +431,7 @@ bool SystemTools::PutEnv(const char* value)
const char* SystemTools::GetExecutableExtension()
{
#if defined(_WIN32) || defined(__CYGWIN__)
#if defined(_WIN32) || defined(__CYGWIN__) || defined(__VMS)
return ".exe";
#else
return "";