[svn-r22010] Variable used to determine if the MS Visual Studio compiler is being used incorrectly limited setting the H5_HAVE_VISUAL_STUDIO define to only when the IDE was being used to build on Windows.

Tested: windows
This commit is contained in:
Allen Byrne 2012-03-01 15:34:32 -05:00
parent e49c1ba04e
commit 196080ac0f

View File

@ -132,9 +132,9 @@ IF (WIN32)
SET (H5_HAVE_WIN32_API 1)
IF (NOT UNIX AND NOT CYGWIN AND NOT MINGW)
SET (WINDOWS 1)
IF (MSVC_IDE)
IF (MSVC)
SET (H5_HAVE_VISUAL_STUDIO 1)
ENDIF (MSVC_IDE)
ENDIF (MSVC)
ENDIF (NOT UNIX AND NOT CYGWIN AND NOT MINGW)
ENDIF (WIN32)