Recommit r246175 - Add Kaleidoscope regression tests, with a fix to make sure
[oota-llvm.git] / examples / Kaleidoscope / Chapter7 / CMakeLists.txt
index 4bc1b2c715609184c7844d18d91ce73f25bc248b..e67d7928efe79539522bb8e955de6c522469aa31 100644 (file)
@@ -3,15 +3,15 @@ set(LLVM_LINK_COMPONENTS
   Core
   ExecutionEngine
   InstCombine
-  MCJIT
+  Object
+  RuntimeDyld
   ScalarOpts
   Support
-  TransformUtils
   native
   )
 
-set(LLVM_REQUIRES_RTTI 1)
-
 add_kaleidoscope_chapter(Kaleidoscope-Ch7
   toy.cpp
   )
+
+export_executable_symbols(Kaleidoscope-Ch7)