diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2019-09-06 20:24:52 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2019-09-06 20:24:52 (GMT) |
commit | 6eb6e0db8da2684ac702bebbe9d75c6c4900628a (patch) | |
tree | aeb3489bda8b15d80d788b6262f76bb8bbda2694 /config | |
parent | 0d964c2f88047ae56b61d72485f3f01b45071294 (diff) | |
download | hdf5-6eb6e0db8da2684ac702bebbe9d75c6c4900628a.zip hdf5-6eb6e0db8da2684ac702bebbe9d75c6c4900628a.tar.gz hdf5-6eb6e0db8da2684ac702bebbe9d75c6c4900628a.tar.bz2 |
Correct Windows check
Diffstat (limited to 'config')
-rw-r--r-- | config/cmake/ConfigureChecks.cmake | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/config/cmake/ConfigureChecks.cmake b/config/cmake/ConfigureChecks.cmake index ae76d1e..7d0f429 100644 --- a/config/cmake/ConfigureChecks.cmake +++ b/config/cmake/ConfigureChecks.cmake @@ -163,15 +163,12 @@ option (HDF5_ENABLE_ROS3_VFD "Build the ROS3 Virtual File Driver" OFF) if(CMAKE_VERSION VERSION_LESS "3.13.0" AND WIN32) MESSAGE(FATAL_ERROR "Windows builds for this option requires a minimum of CMake 3.13") endif () - if (WIN32) - set (CURL_LIBRARY "-lcurl") - endif () find_package(CURL REQUIRED) find_package(OpenSSL REQUIRED) if (${CURL_FOUND} AND ${OPENSSL_FOUND}) set (${HDF_PREFIX}_HAVE_ROS3_VFD 1) list (APPEND LINK_LIBS ${CURL_LIBRARIES} ${OPENSSL_LIBRARIES}) - INCLUDE_DIRECTORIES (${CURL_INCLUDE_DIRS} ${OPENSSL_INCLUDE_DIRS}) + INCLUDE_DIRECTORIES (${CURL_INCLUDE_DIRS} ${OPENSSL_INCLUDE_DIR}) else () message (STATUS "The Read-Only S3 VFD was requested but cannot be built.\nPlease check that openssl and cURL are available on your\nsystem, and/or re-configure without option HDF5_ENABLE_ROS3_VFD.") endif () |