Skip to content

Commit bd8b673

Browse files
committed
Revert ios.cmake license declaration back to Apache-2.0
1 parent 643796a commit bd8b673

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

bldsys/toolchain/ios.cmake

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
44
Copyright (c) 2026, Stephen Saunders
55
6-
SPDX-License-Identifier: BSD-3-Clause-Clear
6+
SPDX-License-Identifier: Apache-2.0
77
8-
Licensed under the BSD-3-Clause-Clear License the "License";
8+
Licensed under the Apache License, Version 2.0 the "License";
99
you may not use this file except in compliance with the License.
1010
You may obtain a copy of the License at
1111
12-
https://spdx.org/licenses/BSD-3-Clause-Clear.html
12+
http://www.apache.org/licenses/LICENSE-2.0
1313
1414
Unless required by applicable law or agreed to in writing, software
1515
distributed under the License is distributed on an "AS IS" BASIS,
@@ -25,7 +25,7 @@
2525
]]
2626

2727
# As per upstream CMake recommendation in https://gitlab.kitware.com/cmake/cmake/-/issues/27661
28-
# for iOS we can use a toolchain file to augment search paths and simplify command line
28+
# for iOS we can use a toolchain file to set up search paths and simplify the command line
2929
#
3030
# iOS/setup-env.sh will first take care of defining the VULKAN_SDK environment variable
3131
# Toolchain file shall define:
@@ -34,11 +34,11 @@
3434
# - Build only the active arch for devices and simulator
3535
# - Export the $ENV{VULKAN_SDK} variable to `CMAKE_FIND_ROOT_PATH`
3636
#
37-
# Note: We augment CMAKE_FIND_ROOT_PATH to find the iOS Vulkan frameworks from the SDK.
37+
# Note: We define CMAKE_FIND_ROOT_PATH to locate the iOS Vulkan frameworks from the SDK.
3838
# We don't define CMAKE_OSX_SYSROOT here since we need to build for both physical devices
3939
# (iphoneos) and simulator (iphonesimulator) - do that instead on the cmake command line.
4040

4141
set(CMAKE_SYSTEM_NAME iOS)
4242
set(CMAKE_OSX_DEPLOYMENT_TARGET 16.3)
4343
set(CMAKE_XCODE_ATTRIBUTE_ONLY_ACTIVE_ARCH YES)
44-
list(APPEND CMAKE_FIND_ROOT_PATH "$ENV{VULKAN_SDK}")
44+
set(CMAKE_FIND_ROOT_PATH "$ENV{VULKAN_SDK}")

0 commit comments

Comments
 (0)