mirror of
https://github.com/cemu-project/vcpkg.git
synced 2025-02-23 02:57:09 +01:00
[geographiclib] Fix build error on Linux
This commit is contained in:
parent
edaf3bf91e
commit
89d8cece0d
@ -1,4 +1,4 @@
|
||||
Source: geographiclib
|
||||
Version: 1.47-patch1-6
|
||||
Version: 1.47-patch1-7
|
||||
Homepage: https://sourceforge.net/projects/geographiclib/
|
||||
Description: a small set of C++ classes for performing conversions between geographic, UTM, UPS, MGRS, geocentric, and local cartesian coordinates, for gravity (e.g., EGM2008), geoid height, and geomagnetic field (e.g., WMM2010) calculations, and for solving geodesic problems.
|
||||
|
@ -46,7 +46,13 @@ endif()
|
||||
|
||||
vcpkg_install_cmake()
|
||||
|
||||
vcpkg_fixup_cmake_targets(CONFIG_PATH cmake)
|
||||
if (VCPKG_TARGET_IS_WINDOWS)
|
||||
vcpkg_fixup_cmake_targets(CONFIG_PATH cmake)
|
||||
elseif (VCPKG_CMAKE_SYSTEM_NAME STREQUAL "Linux")
|
||||
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake)
|
||||
elseif (VCPKG_CMAKE_SYSTEM_NAME STREQUAL "Darwin")
|
||||
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake)
|
||||
endif()
|
||||
vcpkg_copy_pdbs()
|
||||
|
||||
file(COPY ${CURRENT_PACKAGES_DIR}/lib/pkgconfig DESTINATION ${CURRENT_PACKAGES_DIR}/share/geographiclib)
|
||||
|
Loading…
x
Reference in New Issue
Block a user