Consolidate GoogleTest make options and duplicate them to its own makefile.
[oota-llvm.git] / utils / FileUpdate / CMakeLists.txt
1 add_executable(FileUpdate
2   FileUpdate.cpp
3   )
4
5 target_link_libraries(FileUpdate LLVMSupport LLVMSystem)
6 if( MINGW )
7   target_link_libraries(FileUpdate imagehlp psapi)
8 endif( MINGW )
9 if( LLVM_ENABLE_THREADS AND HAVE_LIBPTHREAD )
10   target_link_libraries(FileUpdate pthread)
11 endif()