mirror of
https://github.com/cemu-project/vcpkg.git
synced 2025-02-23 02:57:09 +01:00
parent
00a29c6879
commit
628e795c6a
@ -1,5 +1,5 @@
|
|||||||
Source: netcdf-c
|
Source: netcdf-c
|
||||||
Version: 4.7.0-4
|
Version: 4.7.0-5
|
||||||
Build-Depends: hdf5, curl
|
Build-Depends: hdf5, curl
|
||||||
Homepage: https://github.com/Unidata/netcdf-c
|
Homepage: https://github.com/Unidata/netcdf-c
|
||||||
Description: a set of self-describing, machine-independent data formats that support the creation, access, and sharing of array-oriented scientific data.
|
Description: a set of self-describing, machine-independent data formats that support the creation, access, and sharing of array-oriented scientific data.
|
||||||
|
@ -53,10 +53,5 @@ endif()
|
|||||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
||||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
|
||||||
|
|
||||||
# Handle copyright
|
file(INSTALL ${CMAKE_CURRENT_LIST_DIR}/usage DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT})
|
||||||
file(COPY ${SOURCE_PATH}/COPYRIGHT DESTINATION ${CURRENT_PACKAGES_DIR}/share/netcdf-c)
|
file(INSTALL ${SOURCE_PATH}/COPYRIGHT DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
||||||
file(
|
|
||||||
RENAME
|
|
||||||
${CURRENT_PACKAGES_DIR}/share/netcdf-c/COPYRIGHT
|
|
||||||
${CURRENT_PACKAGES_DIR}/share/netcdf-c/copyright
|
|
||||||
)
|
|
||||||
|
4
ports/netcdf-c/usage
Normal file
4
ports/netcdf-c/usage
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
The package netcdf-c provides CMake targets:
|
||||||
|
|
||||||
|
find_package(netCDF CONFIG REQUIRED)
|
||||||
|
target_link_libraries(main PRIVATE netcdf)
|
Loading…
x
Reference in New Issue
Block a user