summaryrefslogtreecommitdiffstats
path: root/config/cmake/scripts/HDF5config.cmake
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2016-03-15 19:47:06 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2016-03-15 19:47:06 (GMT)
commitb8d2f399fda5767e8311c64725467824591376bb (patch)
treea451856484e9fd1e83525054832a8f5b12c06a87 /config/cmake/scripts/HDF5config.cmake
parent0dd0ffd5c10d0af4b1e672eb105428eeb20e434d (diff)
downloadhdf5-b8d2f399fda5767e8311c64725467824591376bb.zip
hdf5-b8d2f399fda5767e8311c64725467824591376bb.tar.gz
hdf5-b8d2f399fda5767e8311c64725467824591376bb.tar.bz2
[svn-r29427] Correct name of build option in script
Diffstat (limited to 'config/cmake/scripts/HDF5config.cmake')
-rwxr-xr-xconfig/cmake/scripts/HDF5config.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/cmake/scripts/HDF5config.cmake b/config/cmake/scripts/HDF5config.cmake
index cdbbbf5..1503f6c 100755
--- a/config/cmake/scripts/HDF5config.cmake
+++ b/config/cmake/scripts/HDF5config.cmake
@@ -213,9 +213,9 @@ else()
endif()
#### java ####
if(${JAVALIBRARIES})
- set(BUILD_OPTIONS "${BUILD_OPTIONS} -DHDF_BUILD_JAVA:BOOL=ON")
+ set(ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} -DHDF5_BUILD_JAVA:BOOL=ON")
else()
- set(BUILD_OPTIONS "${BUILD_OPTIONS} -DHDF_BUILD_JAVA:BOOL=OFF")
+ set(ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} -DHDF5_BUILD_JAVA:BOOL=OFF")
endif()
### disable test program builds