mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-29 03:34:26 +08:00
[geotrans] Add macro LITTLE_ENDIAN (#9217)
This commit is contained in:
parent
ac0d90f680
commit
386d5c9509
@ -95,6 +95,9 @@ include/dtcc/CoordinateSystems/usng
|
||||
include/dtcc/CoordinateTuples
|
||||
)
|
||||
|
||||
if(WIN32)
|
||||
add_definitions(-DLITTLE_ENDIAN)
|
||||
endif()
|
||||
|
||||
add_library(MSPdtcc ${DTCC_CPP})
|
||||
add_library(MSPCoordinateConversionService CCS/src/CoordinateConversion/CoordinateConversionService.cpp ${DTCC_CPP})
|
||||
|
@ -1,3 +1,3 @@
|
||||
Source: geotrans
|
||||
Version: 3.7
|
||||
Version: 3.7-1
|
||||
Description: Geotrans is a library that allows you convert geographic coordinates among a wide variety of coordinate systems, map projections, and datums.
|
||||
|
@ -1,5 +1,3 @@
|
||||
include(vcpkg_common_functions)
|
||||
|
||||
set(VCPKG_LIBRARY_LINKAGE "dynamic")
|
||||
|
||||
# We specify the Linux URL, but the only difference between the Windows/Linux packages are the included libraries
|
||||
@ -27,7 +25,7 @@ vcpkg_install_cmake()
|
||||
|
||||
configure_file(
|
||||
${CMAKE_CURRENT_LIST_DIR}/geotrans-config.in.cmake
|
||||
${CURRENT_PACKAGES_DIR}/share/geotrans/geotrans-config.cmake
|
||||
${CURRENT_PACKAGES_DIR}/share/${PORT}/geotrans-config.cmake
|
||||
@ONLY
|
||||
)
|
||||
|
||||
@ -35,7 +33,7 @@ configure_file(${CMAKE_CURRENT_LIST_DIR}/usage ${CURRENT_PACKAGES_DIR}/share/${P
|
||||
|
||||
|
||||
# Handle copyright
|
||||
file(INSTALL ${SOURCE_PATH}/GEOTRANS3/docs/MSP_Geotrans_Terms_Of_Use.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/geotrans RENAME copyright)
|
||||
file(INSTALL ${SOURCE_PATH}/GEOTRANS3/docs/MSP_Geotrans_Terms_Of_Use.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
||||
|
||||
# Install the geo model data
|
||||
file(COPY ${SOURCE_PATH}/data DESTINATION ${CURRENT_PACKAGES_DIR}/share/geotrans)
|
||||
file(COPY ${SOURCE_PATH}/data DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT})
|
||||
|
Loading…
x
Reference in New Issue
Block a user