diff options
Diffstat (limited to 'ports')
| -rw-r--r-- | ports/proj4/portfile.cmake | 7 | ||||
| -rw-r--r-- | ports/proj4/usage | 2 | ||||
| -rw-r--r-- | ports/proj4/vcpkg.json | 4 |
3 files changed, 6 insertions, 7 deletions
diff --git a/ports/proj4/portfile.cmake b/ports/proj4/portfile.cmake index feff73e4f..c19e07b07 100644 --- a/ports/proj4/portfile.cmake +++ b/ports/proj4/portfile.cmake @@ -44,7 +44,6 @@ endif() vcpkg_cmake_configure( SOURCE_PATH ${SOURCE_PATH} - PREFER_NINJA OPTIONS ${FEATURE_OPTIONS} -DPROJ_LIB_SUBDIR=lib -DPROJ_INCLUDE_SUBDIR=include @@ -65,7 +64,7 @@ endif () file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share") -configure_file("${CURRENT_PORT_DIR}/usage" "${CURRENT_PACKAGES_DIR}/share/${PORT}/usage" @ONLY) -file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright) - vcpkg_copy_pdbs() + +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) diff --git a/ports/proj4/usage b/ports/proj4/usage index a2297ca02..ebf9f6c8d 100644 --- a/ports/proj4/usage +++ b/ports/proj4/usage @@ -1,4 +1,4 @@ -The package ${PORT}:${TARGET_TRIPLET} provides CMake targets: +The package proj4 provides CMake targets: find_package(PROJ CONFIG REQUIRED) target_link_libraries(main PRIVATE PROJ::proj) diff --git a/ports/proj4/vcpkg.json b/ports/proj4/vcpkg.json index 234f92494..770896f9c 100644 --- a/ports/proj4/vcpkg.json +++ b/ports/proj4/vcpkg.json @@ -1,7 +1,7 @@ { "name": "proj4", - "version-string": "7.2.1", - "port-version": 3, + "version-semver": "7.2.1", + "port-version": 4, "description": "PROJ.4 library for cartographic projections", "homepage": "https://github.com/OSGeo/PROJ", "dependencies": [ |
