hanchenye-llvm-project/llvm/utils/FileUpdate/CMakeLists.txt

12 lines
281 B
CMake

add_executable(FileUpdate
FileUpdate.cpp
)
target_link_libraries(FileUpdate LLVMSupport LLVMSystem)
if( MINGW )
target_link_libraries(FileUpdate imagehlp psapi)
endif( MINGW )
if( LLVM_ENABLE_THREADS AND HAVE_LIBPTHREAD )
target_link_libraries(FileUpdate pthread)
endif()