Skip to content
Snippets Groups Projects
Commit 6a356474 authored by Gigg, Martyn Anthony's avatar Gigg, Martyn Anthony Committed by Martyn Gigg
Browse files

Fix cmake variable case

CMake finders have the option to set `<PackageName>_ROOT`
to specify a root prefix to search. `<PackageName>` is case sensitive so
must match exactly what is passed to `find_package`.
parent 3d76d736
No related branches found
No related tags found
No related merge requests found
...@@ -18,8 +18,8 @@ ...@@ -18,8 +18,8 @@
"USE_PYTHON_DYNAMIC_LIB": "OFF", "USE_PYTHON_DYNAMIC_LIB": "OFF",
"Qt5_DIR": "$env{CONDA_PREFIX}/lib/cmake/qt5", "Qt5_DIR": "$env{CONDA_PREFIX}/lib/cmake/qt5",
"HDF5_ROOT": "$env{CONDA_PREFIX}", "HDF5_ROOT": "$env{CONDA_PREFIX}",
"OPENSSL_ROOT": "$env{CONDA_PREFIX}" "OpenSSL_ROOT": "$env{CONDA_PREFIX}"
} }
} }
] ]
} }
\ No newline at end of file
...@@ -124,9 +124,9 @@ set(PLUGINS_DIR plugins) ...@@ -124,9 +124,9 @@ set(PLUGINS_DIR plugins)
# Mac-specific installation setup # Mac-specific installation setup
# ############################################################################## # ##############################################################################
# use homebrew OpenSSL package # use homebrew OpenSSL package
if(NOT OPENSSL_ROOT) if(NOT OpenSSL_ROOT)
set(OPENSSL_ROOT /usr/local/opt/openssl) set(OpenSSL_ROOT /usr/local/opt/openssl)
endif(NOT OPENSSL_ROOT) endif()
if(NOT HDF5_ROOT) if(NOT HDF5_ROOT)
set(HDF5_ROOT /usr/local/opt/hdf5) # Only for homebrew! set(HDF5_ROOT /usr/local/opt/hdf5) # Only for homebrew!
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment