diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2010-09-20 21:02:26 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2010-09-20 21:02:26 (GMT) |
commit | 7c7b4e3deb555c2d2fc3a6a029549a014f29d50e (patch) | |
tree | 3f5918dbc0f2bdbac88d0e2604730285dbe699cc /c++ | |
parent | 1d8cd1619ac982396ef1aa35793a97e89027f3da (diff) | |
download | hdf5-7c7b4e3deb555c2d2fc3a6a029549a014f29d50e.zip hdf5-7c7b4e3deb555c2d2fc3a6a029549a014f29d50e.tar.gz hdf5-7c7b4e3deb555c2d2fc3a6a029549a014f29d50e.tar.bz2 |
[svn-r19438] Correct use of lib, include, bin in INSTALL commands to use proper variables.
Tested: local linux
Diffstat (limited to 'c++')
-rw-r--r-- | c++/src/CMakeLists.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/c++/src/CMakeLists.txt b/c++/src/CMakeLists.txt index 4c6dd5f..ffc2da3 100644 --- a/c++/src/CMakeLists.txt +++ b/c++/src/CMakeLists.txt @@ -93,7 +93,7 @@ INSTALL ( FILES ${CPP_HDRS} DESTINATION - include/cpp + ${HDF5_INSTALL_INCLUDE_DIR}/cpp COMPONENT cppheaders ) @@ -107,9 +107,9 @@ IF (HDF5_EXPORTED_TARGETS) ${HDF5_CPP_LIB_TARGET} EXPORT ${HDF5_EXPORTED_TARGETS} - LIBRARY DESTINATION lib COMPONENT cpplibraries - ARCHIVE DESTINATION lib COMPONENT cpplibraries - RUNTIME DESTINATION bin COMPONENT cpplibraries + LIBRARY DESTINATION ${HDF5_INSTALL_LIB_DIR} COMPONENT cpplibraries + ARCHIVE DESTINATION ${HDF5_INSTALL_LIB_DIR} COMPONENT cpplibraries + RUNTIME DESTINATION ${HDF5_INSTALL_BIN_DIR} COMPONENT cpplibraries ) ENDIF (HDF5_EXPORTED_TARGETS) |