summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2014-01-28 21:48:36 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2014-01-28 21:48:36 (GMT)
commit362ffa9f05207c530383dd87009278915e7d66bb (patch)
treec77d3a51c7e65df23bd589ee55c7a3686ae5d548
parent4f2f2cf6a27aa61bae0e7a8be3035a1da0cb512e (diff)
downloadhdf5-362ffa9f05207c530383dd87009278915e7d66bb.zip
hdf5-362ffa9f05207c530383dd87009278915e7d66bb.tar.gz
hdf5-362ffa9f05207c530383dd87009278915e7d66bb.tar.bz2
[svn-r24657] Add VS Express check
-rw-r--r--CMakeInstallation.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeInstallation.cmake b/CMakeInstallation.cmake
index ad6e94e..f7f35d4 100644
--- a/CMakeInstallation.cmake
+++ b/CMakeInstallation.cmake
@@ -299,6 +299,10 @@ The HDF5 data model, file format, API, library, and tools are open and distribut
# SET (CPACK_RPM_USER_BINARY_SPECFILE "${CMAKE_CURRENT_BINARY_DIR}/${HDF5_PACKAGE_NAME}.spec")
ENDIF (WIN32)
+ # By default, do not warn when built on machines using only VS Express:
+ IF (NOT DEFINED CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_NO_WARNINGS)
+ SET (CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_NO_WARNINGS ON)
+ ENDIF(NOT DEFINED CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_NO_WARNINGS)
INCLUDE(InstallRequiredSystemLibraries)
SET (CPACK_INSTALL_CMAKE_PROJECTS "${HDF5_BINARY_DIR};HDF5;ALL;/")