summaryrefslogtreecommitdiff
path: root/cmake/Modules/CompilerRTUtils.cmake
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2016-01-27 21:10:16 +0000
committerDimitry Andric <dim@FreeBSD.org>2016-01-27 21:10:16 +0000
commit807551b099338b7cc4f66ee567aae20a529dd27e (patch)
treea17d5d3b79498bf78c9fd486acfebf38aaf101bb /cmake/Modules/CompilerRTUtils.cmake
parentfc411a9eb44c912f867b49a08d4ea98be89681d9 (diff)
Notes
Diffstat (limited to 'cmake/Modules/CompilerRTUtils.cmake')
-rw-r--r--cmake/Modules/CompilerRTUtils.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/Modules/CompilerRTUtils.cmake b/cmake/Modules/CompilerRTUtils.cmake
index cf690f4a33c52..ad9e70c0587ad 100644
--- a/cmake/Modules/CompilerRTUtils.cmake
+++ b/cmake/Modules/CompilerRTUtils.cmake
@@ -58,7 +58,7 @@ macro(append_have_file_definition filename varname list)
list(APPEND ${list} "${varname}=${${varname}}")
endmacro()
-macro(list_union output input1 input2)
+macro(list_intersect output input1 input2)
set(${output})
foreach(it ${${input1}})
list(FIND ${input2} ${it} index)