diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/salome-configuration/cmake-4.patch | |
Diffstat (limited to 'vcpkg/ports/salome-configuration/cmake-4.patch')
| -rw-r--r-- | vcpkg/ports/salome-configuration/cmake-4.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/vcpkg/ports/salome-configuration/cmake-4.patch b/vcpkg/ports/salome-configuration/cmake-4.patch new file mode 100644 index 0000000..d70aff6 --- /dev/null +++ b/vcpkg/ports/salome-configuration/cmake-4.patch @@ -0,0 +1,14 @@ +diff --git a/cmake/SalomeMacros.cmake b/cmake/SalomeMacros.cmake +index bb38859ee9..3b7662dcae 100644 +--- a/cmake/SalomeMacros.cmake ++++ b/cmake/SalomeMacros.cmake +@@ -23,9 +23,6 @@ + # Set-up global policies + #---------------------------------------------------------------------------- + CMAKE_POLICY(SET CMP0003 NEW) # Ensure proper linker behavior +-IF(WIN32) +- CMAKE_POLICY(SET CMP0020 OLD) # Disable automatic linking to qtmain.lib +-ENDIF(WIN32) + CMAKE_POLICY(SET CMP0053 NEW) # For correct Qt 5 detection procedure + IF(CMAKE_VERSION VERSION_GREATER_EQUAL 3.12) + CMAKE_POLICY(SET CMP0074 NEW) # Use ROOT variables when detecting packages |