r258214 - [CMake] Don't apply Export set to clang tools

Chris Bieneman via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 19 15:01:39 PST 2016


Author: cbieneman
Date: Tue Jan 19 17:01:38 2016
New Revision: 258214

URL: http://llvm.org/viewvc/llvm-project?rev=258214&view=rev
Log:
[CMake] Don't apply Export set to clang tools

I can't apply export to tools without getting some strange CMake spew. The behavior here is a bit unexpected. CMake is complaining about static link dependencies not being in the same export set, which shouldn't matter.

In the short term it is easier to just remove the export set (which was just added in r258209) while I sort this out.

Modified:
    cfe/trunk/CMakeLists.txt

Modified: cfe/trunk/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/CMakeLists.txt?rev=258214&r1=258213&r2=258214&view=diff
==============================================================================
--- cfe/trunk/CMakeLists.txt (original)
+++ cfe/trunk/CMakeLists.txt Tue Jan 19 17:01:38 2016
@@ -447,7 +447,6 @@ endmacro(add_clang_executable)
 macro(add_clang_tool name)
   add_clang_executable(${name} ${ARGN})
   install(TARGETS ${name}
-    EXPORT ClangTargets
     RUNTIME DESTINATION bin
     COMPONENT ${name})
 




More information about the cfe-commits mailing list