summaryrefslogtreecommitdiffstats
path: root/release_docs/INSTALL_CMake.txt
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2015-10-19 17:13:50 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2015-10-19 17:13:50 (GMT)
commitd1139d78d6f1fad592efb935a15556c87a0c3fc0 (patch)
tree9f27ab638001e19ccd120b7faca8345bbac5c984 /release_docs/INSTALL_CMake.txt
parentd72281dff45bfdbcb37881390beb58e1b13c1853 (diff)
downloadhdf5-d1139d78d6f1fad592efb935a15556c87a0c3fc0.zip
hdf5-d1139d78d6f1fad592efb935a15556c87a0c3fc0.tar.gz
hdf5-d1139d78d6f1fad592efb935a15556c87a0c3fc0.tar.bz2
[svn-r28126] Correct CMake var name
Diffstat (limited to 'release_docs/INSTALL_CMake.txt')
-rw-r--r--release_docs/INSTALL_CMake.txt12
1 files changed, 6 insertions, 6 deletions
diff --git a/release_docs/INSTALL_CMake.txt b/release_docs/INSTALL_CMake.txt
index 783c30d..302ed92 100644
--- a/release_docs/INSTALL_CMake.txt
+++ b/release_docs/INSTALL_CMake.txt
@@ -697,22 +697,22 @@ if(NOT DEFINED BUILD_GENERATOR)
message(FATAL_ERROR "BUILD_GENERATOR must be defined - Unix, VS2013, VS201364, VS2012, or VS201264")
else()
if(${BUILD_GENERATOR} STREQUAL "Unix")
- set(CMAKE_GENERATOR "Unix Makefiles")
+ set(CTEST_CMAKE_GENERATOR "Unix Makefiles")
elseif(${BUILD_GENERATOR} STREQUAL "VS2013")
- set(CMAKE_GENERATOR "Visual Studio 12 2013")
+ set(CTEST_CMAKE_GENERATOR "Visual Studio 12 2013")
elseif(${BUILD_GENERATOR} STREQUAL "VS201364")
- set(CMAKE_GENERATOR "Visual Studio 12 2013 Win64")
+ set(CTEST_CMAKE_GENERATOR "Visual Studio 12 2013 Win64")
elseif(${BUILD_GENERATOR} STREQUAL "VS2012")
- set(CMAKE_GENERATOR "Visual Studio 11 2012")
+ set(CTEST_CMAKE_GENERATOR "Visual Studio 11 2012")
elseif(${BUILD_GENERATOR} STREQUAL "VS201264")
- set(CMAKE_GENERATOR "Visual Studio 11 2012 Win64")
+ set(CTEST_CMAKE_GENERATOR "Visual Studio 11 2012 Win64")
else()
message(FATAL_ERROR "Invalid BUILD_GENERATOR must be - Unix, VS2013, VS201364, VS2012, or VS201264")
endif()
endif()
if(NOT DEFINED INSTALLDIR)
- if(WIN32)
+ if(NOT WIN32)
set(INSTALLDIR "/usr/local/myhdf5")
else()
set(INSTALLDIR "C:\\Program\ Files\\myhdf5")