From: Rafael Espindola Date: Wed, 22 May 2013 02:45:28 +0000 (+0000) Subject: Allow duplicates in LLVM_TARGETS_TO_BUILD and LLVM_EXPERIMENTAL_TARGETS_TO_BUILD. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=67295357ccab93cb4f4490cc96ab177c0906181f;p=oota-llvm.git Allow duplicates in LLVM_TARGETS_TO_BUILD and LLVM_EXPERIMENTAL_TARGETS_TO_BUILD. Should fix the cmake bots that were already building R600. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182447 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 18a172a2548..bb70f158800 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -135,6 +135,7 @@ endif() set(LLVM_TARGETS_TO_BUILD ${LLVM_TARGETS_TO_BUILD} ${LLVM_EXPERIMENTAL_TARGETS_TO_BUILD}) +list(REMOVE_DUPLICATES LLVM_TARGETS_TO_BUILD) set(LLVM_ENUM_TARGETS "") foreach(c ${LLVM_TARGETS_TO_BUILD})