Skip to content

Commit 3504a0a

Browse files
committed
[CMake] Remove set(CACHE) line for SWIFT_MODULE_ABI_NAME_PREFIX
Due to https://cmake.org/cmake/help/latest/policy/CMP0126.html set(CACHE) overwrites the existing value if the cache has not been set to any value. Since we don't need any default value, just remove it.
1 parent ccab07f commit 3504a0a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ if(CMAKE_VERSION VERSION_LESS 3.21)
2222
endif()
2323
endif()
2424

25-
set(SWIFT_MODULE_ABI_NAME_PREFIX CACHE STRING "ABI name prefix to avoid name conflicts")
26-
2725
# The subdirectory into which host libraries will be installed.
2826
set(SWIFT_HOST_LIBRARIES_SUBDIRECTORY "swift/host")
2927

0 commit comments

Comments
 (0)