mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-27 02:10:55 +08:00
[svn-r19865] Correct INSTALL_PREFIX handling
This commit is contained in:
parent
58ec33ebba
commit
109294e6e2
@ -133,7 +133,9 @@ SET (HDF5_PERFORM_SRC_DIR ${HDF5_SOURCE_DIR}/perform)
|
||||
SET (HDF5_F90_SRC_DIR ${HDF5_SOURCE_DIR}/fortran)
|
||||
|
||||
# set default prefix location
|
||||
SET (CMAKE_INSTALL_PREFIX "./hdf5" CACHE PATH "Install path prefix, prepended onto install directories")
|
||||
IF(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
|
||||
SET(CMAKE_INSTALL_PREFIX "hdf5" CACHE PATH "Install path prefix, prepended onto install directories" FORCE)
|
||||
ENDIF(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
|
||||
|
||||
IF (NOT HDF5_INSTALL_BIN_DIR)
|
||||
SET (HDF5_INSTALL_BIN_DIR bin)
|
||||
|
Loading…
Reference in New Issue
Block a user