mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-24 23:37:58 +08:00
6fec1e983d
* [geographiclib] Removed cross-compile check. It is broken, and as far as I can tell, unnecessary. The target is still validated, but whether or not cross-compiling is occuring is not. Related to microsoft#8104. * [geographiclib] Port version bumped.
15 lines
846 B
Diff
15 lines
846 B
Diff
diff -Naur a/cmake/project-config-version.cmake.in b/cmake/project-config-version.cmake.in
|
|
--- a/cmake/project-config-version.cmake.in 2023-07-25 07:37:40.000000000 -0500
|
|
+++ b/cmake/project-config-version.cmake.in 2023-11-10 16:58:52.835325073 -0600
|
|
@@ -48,10 +48,6 @@
|
|
# Reject if the user asks for an incompatible precsision.
|
|
set (REASON "GEOGRAPHICLIB_PRECISION = @GEOGRAPHICLIB_PRECISION@")
|
|
set (PACKAGE_VERSION_UNSUITABLE TRUE)
|
|
-elseif (NOT CMAKE_CROSSCOMPILING_STR STREQUAL "@CMAKE_CROSSCOMPILING_STR@")
|
|
- # Reject if there's a mismatch in ${CMAKE_CROSSCOMPILING}.
|
|
- set (REASON "cross-compiling = @CMAKE_CROSSCOMPILING@")
|
|
- set (PACKAGE_VERSION_UNSUITABLE TRUE)
|
|
elseif (CMAKE_CROSSCOMPILING AND
|
|
NOT (CMAKE_SYSTEM_NAME STREQUAL "@CMAKE_SYSTEM_NAME@" AND
|
|
CMAKE_SYSTEM_PROCESSOR STREQUAL "@CMAKE_SYSTEM_PROCESSOR@"))
|