Skip to content

Commit 4f74b7e

Browse files
committed
ci(wheels-macos-x86): set cmake min policy to 3.5 globally
Signed-off-by: Zach Lewis <[email protected]>
1 parent 62bbf4c commit 4f74b7e

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/wheel.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -293,13 +293,14 @@ jobs:
293293
294294
CMAKE_ARGS="-DCMAKE_FIND_FRAMEWORK=NEVER
295295
-DCMAKE_NO_SYSTEM_FROM_IMPORTED=ON
296-
-DOpenEXR_DIR=$PWD/deps/dist/lib/cmake/OpenEXR
297-
-DImath_DIR=$PWD/deps/dist/lib/cmake/Imath"
298296
-DCMAKE_OSX_DEPLOYMENT_TARGET=10.13
299297
-DIGNORE_HOMEBREWED_DEPS=ON
300-
# TODO: Re-enable HEIF when we provide a build recipe that does
301-
# not include GPL-licensed dynamic libraries.
302-
USE_Libheif: 'OFF'
298+
-DCMAKE_POLICY_VERSION_MINIMUM=3.5
299+
-DOpenEXR_DIR=$PWD/deps/dist/lib/cmake/OpenEXR
300+
-DImath_DIR=$PWD/deps/dist/lib/cmake/Imath"
301+
# TODO: Re-enable HEIF when we provide a build recipe that does
302+
# not include GPL-licensed dynamic libraries.
303+
USE_Libheif: 'OFF'
303304

304305
- uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0
305306
with:

0 commit comments

Comments
 (0)