Skip to content

Commit e6ce74b

Browse files
committed
Fixing ObjC runtime build error on Ubuntu 22.04 - "Compatibility with CMake < 3.5 has been removed from CMake."
1 parent 0700208 commit e6ce74b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Packaging/Sources/2_build_libobjc2.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ cd ./.build
4646

4747
$CMAKE_CMD .. \
4848
-Dtsl-robin-map_DIR=${BUILD_ROOT}/robin-map-${ROBIN_MAP_VERSION} \
49+
-DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
4950
-DCMAKE_C_COMPILER=${C_COMPILER} \
5051
-DCMAKE_CXX_COMPILER=${CXX_COMPILER} \
5152
-DGNUSTEP_INSTALL_TYPE=NONE \

0 commit comments

Comments
 (0)