Skip to content

Commit

Permalink
install-prefix default for UX
Browse files Browse the repository at this point in the history
  • Loading branch information
scivision committed Oct 10, 2024
1 parent 35a5e40 commit 9544e27
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions options.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,7 @@ set_property(DIRECTORY PROPERTY EP_UPDATE_DISCONNECTED true)

# Necessary for shared library with Visual Studio / Windows oneAPI
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS true)

if(h5fortran_IS_TOP_LEVEL AND CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
set_property(CACHE CMAKE_INSTALL_PREFIX PROPERTY VALUE "${PROJECT_BINARY_DIR}/local")
endif()

0 comments on commit 9544e27

Please sign in to comment.