mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-01-18 15:15:56 +08:00
Correct TARGET variable and CMake config file location
This commit is contained in:
parent
c0c0b6b47f
commit
8758d5698d
@ -26,7 +26,7 @@ macro (EXTERNAL_PLUGIN_LIBRARY compress_type)
|
||||
# the hdf5 settings
|
||||
-DHDF5_PACKAGE_NAME:STRING=hdf5
|
||||
-DHDF5_HDF5_HEADER:STRING=h5pubconf.h
|
||||
-DHDF5_LINK_LIBS:STRING=$<TARGET_FILE:${HDF5_LIBSH_TARGET}>
|
||||
-DHDF5_LINK_LIBS:STRING=$<TARGET_LINKER_FILE:${HDF5_LIBSH_TARGET}>
|
||||
-DHDF5_INCLUDE_DIR:PATH=${HDF5_SRC_DIR}|${HDF5_SRC_BINARY_DIR}
|
||||
-DPL_PACKAGE_NAME:STRING=${PLUGIN_PACKAGE_NAME}
|
||||
-DH5PL_CPACK_ENABLE:BOOL=ON
|
||||
@ -78,7 +78,7 @@ macro (EXTERNAL_PLUGIN_LIBRARY compress_type)
|
||||
# the hdf5 settings
|
||||
-DHDF5_PACKAGE_NAME:STRING=hdf5
|
||||
-DHDF5_HDF5_HEADER:STRING=h5pubconf.h
|
||||
-DHDF5_LINK_LIBS:STRING=$<TARGET_FILE:${HDF5_LIBSH_TARGET}>
|
||||
-DHDF5_LINK_LIBS:STRING=$<TARGET_LINKER_FILE:${HDF5_LIBSH_TARGET}>
|
||||
-DHDF5_INCLUDE_DIR:PATH=${HDF5_SRC_DIR}|${HDF5_SRC_BINARY_DIR}
|
||||
-DPL_PACKAGE_NAME:STRING=${PLUGIN_PACKAGE_NAME}
|
||||
-DH5PL_CPACK_ENABLE:BOOL=ON
|
||||
|
@ -353,12 +353,13 @@ macro (HDF_DIR_PATHS package_prefix)
|
||||
set (${package_prefix}_INSTALL_FWRK_DIR ${CMAKE_INSTALL_FRAMEWORK_PREFIX})
|
||||
endif ()
|
||||
set (${package_prefix}_INSTALL_DATA_DIR share)
|
||||
set (${package_prefix}_INSTALL_CMAKE_DIR share/cmake)
|
||||
else ()
|
||||
set (${package_prefix}_INSTALL_DATA_DIR ".")
|
||||
set (${package_prefix}_INSTALL_CMAKE_DIR cmake)
|
||||
endif ()
|
||||
endif ()
|
||||
if (NOT ${package_prefix}_INSTALL_CMAKE_DIR)
|
||||
set (${package_prefix}_INSTALL_CMAKE_DIR share/cmake)
|
||||
endif ()
|
||||
|
||||
# Always use full RPATH, i.e. don't skip the full RPATH for the build tree
|
||||
set (CMAKE_SKIP_BUILD_RPATH FALSE)
|
||||
|
@ -111,4 +111,4 @@ else()
|
||||
set(CMAKE_CXX_CPPCHECK
|
||||
""
|
||||
CACHE STRING "" FORCE) # delete it
|
||||
endif()
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user