Skip to content

Commit

Permalink
update patch
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxxen committed Aug 28, 2024
1 parent 92adb13 commit 9474f46
Showing 1 changed file with 6 additions and 16 deletions.
22 changes: 6 additions & 16 deletions deps/patches/proj_wasm.patch
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
--- /cmake/project-config-version.cmake.in 2023-12-05 10:44:44
+++ /cmake/project-config-version.cmake.in 2023-12-06 09:45:53
@@ -22,45 +22,7 @@
set (CMAKE_CROSSCOMPILING_STR "OFF")
--- project-config-version.cmake.in 2024-08-28 10:50:19
+++ project-config-version.cmake.in 2024-08-28 11:15:36
@@ -15,35 +15,7 @@
math (EXPR MSVC_TOOLSET_MAJOR "${MSVC_TOOLSET_VERSION}/10")
endif ()

-if (NOT PACKAGE_FIND_NAME STREQUAL "@PROJECT_VARIANT_NAME@")
- # Check package name (in particular, because of the way cmake finds
- # package config files, the capitalization could easily be "wrong").
Expand All @@ -25,16 +25,6 @@
- # Reject if there's a mismatch in MSVC compiler versions
- set (REASON "MSVC_TOOLSET_VERSION = @MSVC_TOOLSET_VERSION@")
- 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@"))
- # Reject if cross-compiling and there's a mismatch in the target system
- set (REASON "target = @CMAKE_SYSTEM_NAME@-@CMAKE_SYSTEM_PROCESSOR@")
- set (PACKAGE_VERSION_UNSUITABLE TRUE)
-elseif (PACKAGE_FIND_VERSION)
- if (PACKAGE_FIND_VERSION VERSION_EQUAL PACKAGE_VERSION)
- set (PACKAGE_VERSION_EXACT TRUE)
Expand All @@ -44,6 +34,6 @@
- endif ()
-endif ()
+set (PACKAGE_VERSION_COMPATIBLE TRUE)

# If unsuitable, append the reason to the package version so that it's
# visible to the user.

0 comments on commit 9474f46

Please sign in to comment.