mirror of https://github.com/microsoft/vcpkg.git
[gsl] install pkgconfig file (#24285)
This commit is contained in:
parent
c656e2eccd
commit
ed6dc3a43f
|
|
@ -75,6 +75,9 @@ if(INSTALL_HEADERS)
|
|||
set(TARGET_INSTALL_OPTIONS PUBLIC_HEADER DESTINATION include/gsl)
|
||||
endif()
|
||||
|
||||
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/gsl.pc.in" "${CMAKE_CURRENT_BINARY_DIR}/gsl.pc" @ONLY)
|
||||
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/gsl.pc" DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig")
|
||||
|
||||
install(TARGETS gsl gslcblas
|
||||
RUNTIME DESTINATION bin
|
||||
LIBRARY DESTINATION lib
|
||||
|
|
|
|||
|
|
@ -24,6 +24,8 @@ vcpkg_cmake_configure(
|
|||
vcpkg_cmake_install()
|
||||
vcpkg_copy_pdbs()
|
||||
|
||||
vcpkg_fixup_pkgconfig()
|
||||
|
||||
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
|
||||
file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
||||
configure_file("${CMAKE_CURRENT_LIST_DIR}/vcpkg-cmake-wrapper.cmake" "${CURRENT_PACKAGES_DIR}/share/${PORT}/vcpkg-cmake-wrapper.cmake" @ONLY)
|
||||
|
|
@ -1,8 +1,10 @@
|
|||
{
|
||||
"name": "gsl",
|
||||
"version": "2.7.1",
|
||||
"port-version": 1,
|
||||
"description": "The GNU Scientific Library is a numerical library for C and C++ programmers",
|
||||
"homepage": "https://www.gnu.org/software/gsl/",
|
||||
"license": "GPL-3.0",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
|
|
|
|||
|
|
@ -2650,7 +2650,7 @@
|
|||
},
|
||||
"gsl": {
|
||||
"baseline": "2.7.1",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"gsl-lite": {
|
||||
"baseline": "0.40.0",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,10 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "0bf0e1015fe68141e3c5d0b6777c2d38c352b72d",
|
||||
"version": "2.7.1",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "dc3b20f09d0d6131faaa2dc0448d60676af96672",
|
||||
"version": "2.7.1",
|
||||
|
|
|
|||
Loading…
Reference in New Issue