summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2012-03-01 20:34:32 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2012-03-01 20:34:32 (GMT)
commit196080ac0fd0df2417bf79481e1ffd47d1b86e89 (patch)
tree793c80d92b6b02b8d9619051c39846d70696ede2 /config
parente49c1ba04e9ec224771e9c7e528def4fc8245d87 (diff)
downloadhdf5-196080ac0fd0df2417bf79481e1ffd47d1b86e89.zip
hdf5-196080ac0fd0df2417bf79481e1ffd47d1b86e89.tar.gz
hdf5-196080ac0fd0df2417bf79481e1ffd47d1b86e89.tar.bz2
[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
Diffstat (limited to 'config')
-rw-r--r--config/cmake/ConfigureChecks.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/cmake/ConfigureChecks.cmake b/config/cmake/ConfigureChecks.cmake
index 8f9ffb9..963152c 100644
--- a/config/cmake/ConfigureChecks.cmake
+++ b/config/cmake/ConfigureChecks.cmake
@@ -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)