From e6ffffdaced450adc33365b727d7e12f09e9dc9d Mon Sep 17 00:00:00 2001 From: Kai Nacke Date: Wed, 23 Oct 2013 01:26:28 +0200 Subject: [PATCH] Files from DRV_SRC and DRV_HDR should be compiled with same flags as other files. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6b8f5bcf..072332b9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -268,7 +268,7 @@ set(LDC_SOURCE_FILES ) # DMD source files have a .c extension, but are actually C++ code. -foreach(file ${LDC_SOURCE_FILES}) +foreach(file ${LDC_SOURCE_FILES} ${DRV_SRC} ${DRV_HDR}) if(file MATCHES ".*\\.c$") set_source_files_properties(${file} PROPERTIES LANGUAGE CXX