Skip to content

Commit

Permalink
cmake1
Browse files Browse the repository at this point in the history
  • Loading branch information
DennisHeimbigner committed Sep 29, 2024
1 parent bb6869b commit bd83196
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -660,10 +660,11 @@ endif()
if(NOT DEFINED HDF5_PLUGIN_PATH OR ${HDF5_PLUGIN_PATH} STREQUAL "")
if(ISMSVC OR ISMINGW)
string(REPLACE "\\" "/" AUP "$ENV{"ALLUSERSPROFILE"}")
HDF5_PLUGIN_PATH="${AUP}/hdfd5/lib/plugin"
set(HDF5_PLUGIN_PATH "${AUP}/hdfd5/lib/plugin")
else()
HDF5_PLUGIN_PATH="/usr/local/hdf5/lib/plugin"
set(HDF5_PLUGIN_PATH "/usr/local/hdf5/lib/plugin")
endif()
set(ENV{HDF5_PLUGIN_PATH} "${HDF5_PLUGIN_PATH}")
endif()

# The --with-plugin-dir gives the user control of the plugin
Expand Down

0 comments on commit bd83196

Please sign in to comment.