aboutsummaryrefslogtreecommitdiffstats
path: root/utils/FileCheck/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'utils/FileCheck/CMakeLists.txt')
-rw-r--r--utils/FileCheck/CMakeLists.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/utils/FileCheck/CMakeLists.txt b/utils/FileCheck/CMakeLists.txt
new file mode 100644
index 0000000..8fee03f
--- /dev/null
+++ b/utils/FileCheck/CMakeLists.txt
@@ -0,0 +1,11 @@
+add_executable(FileCheck
+ FileCheck.cpp
+ )
+
+target_link_libraries(FileCheck LLVMSupport LLVMSystem)
+if( MINGW )
+ target_link_libraries(FileCheck imagehlp psapi)
+endif( MINGW )
+if( LLVM_ENABLE_THREADS AND HAVE_LIBPTHREAD )
+ target_link_libraries(FileCheck pthread)
+endif()