mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 10:35:28 +00:00
[CDFS] Use GNU89 standard when using CLang
This commit is contained in:
parent
2c4c25e468
commit
cab3e62f0e
1 changed files with 6 additions and 0 deletions
|
@ -38,3 +38,9 @@ target_link_libraries(cdfs ${PSEH_LIB} memcmp)
|
||||||
add_importlibs(cdfs ntoskrnl hal)
|
add_importlibs(cdfs ntoskrnl hal)
|
||||||
add_cd_file(TARGET cdfs DESTINATION reactos/system32/drivers NO_CAB FOR all)
|
add_cd_file(TARGET cdfs DESTINATION reactos/system32/drivers NO_CAB FOR all)
|
||||||
add_registry_inf(cdfs_reg.inf)
|
add_registry_inf(cdfs_reg.inf)
|
||||||
|
|
||||||
|
if (CLANG AND GCC)
|
||||||
|
# Make __inline work as expected
|
||||||
|
target_compile_options(cdfs PRIVATE -std=gnu89)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue