From 0895db0abfd194722706ee561b78c8f71a2b9ee8 Mon Sep 17 00:00:00 2001 From: Oscar Fuentes Date: Mon, 3 Jan 2011 16:59:52 +0000 Subject: [PATCH] LLVMProcessSources: add .def files along with .h files to targets for the benefit of project-based generators (VS, XCode, etc). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122749 91177308-0d34-0410-b5e6-96231b3b80d8 --- cmake/modules/LLVMProcessSources.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/modules/LLVMProcessSources.cmake b/cmake/modules/LLVMProcessSources.cmake index 092c2f795d3..5f59eac4511 100644 --- a/cmake/modules/LLVMProcessSources.cmake +++ b/cmake/modules/LLVMProcessSources.cmake @@ -12,7 +12,7 @@ endmacro(add_td_sources) macro(add_header_files srcs) - file(GLOB hds *.h) + file(GLOB hds *.h *.def) if( hds ) set_source_files_properties(${hds} PROPERTIES HEADER_FILE_ONLY ON) list(APPEND ${srcs} ${hds})