mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-17 05:13:14 +01:00
Files from DRV_SRC and DRV_HDR should be compiled with same flags as other files.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user