diff utils/llvm-lit/CMakeLists.txt @ 33:e4204d083e25 LLVM3.5

LLVM 3.5
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Thu, 12 Dec 2013 14:32:10 +0900
parents 95c75e76d11b
children 54457678186b
line wrap: on
line diff
--- a/utils/llvm-lit/CMakeLists.txt	Thu Dec 12 13:57:29 2013 +0900
+++ b/utils/llvm-lit/CMakeLists.txt	Thu Dec 12 14:32:10 2013 +0900
@@ -1,4 +1,9 @@
+if (WIN32 AND NOT CYGWIN)
+  # llvm-lit needs suffix.py for multiprocess to find a main module.
+  set(suffix .py)
+endif ()
+
 configure_file(
   llvm-lit.in
-  ${LLVM_TOOLS_BINARY_DIR}/llvm-lit
+  ${LLVM_TOOLS_BINARY_DIR}/llvm-lit${suffix}
   )