Skip to content

Commit 72c226e

Browse files
committed
Use target detection to exclude functionNameDemangleTest on linux.
Swift SVN r23571
1 parent 11802de commit 72c226e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

unittests/FunctionNameDemangle/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
if(CMAKE_SYSTEM_NAME STREQUAL "Darwin")
1+
if(TARGET functionNameDemangle)
22
add_swift_unittest(FunctionNameDemangleTests
33
DemangleTest.cpp
44
)

0 commit comments

Comments
 (0)