Skip to content

Commit 36246a2

Browse files
authored
Merge pull request #83576 from compnerd/namespace
Demangling: correct build for the runtime
2 parents 2d2adfb + 5fe4a78 commit 36246a2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Runtimes/Core/Demangling/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ target_compile_definitions(swiftDemangling PRIVATE
2121
# compiler, in order to avoid possible ODR violations if both are statically
2222
# linked into the same binary. (see also commit message for 5b1daa9055c99904c84862ecc313641fd9b26e63)
2323
target_compile_definitions(swiftDemangling PUBLIC
24-
$<$<COMPILE_LANGUAGE:C,CXX>:-DSWIFT_INLINE_NAMESPACE=__runtime>)
24+
-DSWIFT_RUNTIME
25+
$<$<COMPILE_LANGUAGE:C,CXX>:-DSWIFT_INLINE_NAMESPACE=__runtime>)
2526

2627
target_include_directories(swiftDemangling
2728
PRIVATE

0 commit comments

Comments
 (0)