mirror of
https://github.com/marzer/tomlplusplus.git
synced 2024-09-15 15:13:21 +00:00
disable global compiler flag when used as subproject (fixes #72)
This commit is contained in:
parent
d95ff4c04f
commit
9ea4438fc4
@ -472,7 +472,7 @@ compiler_supports_float128 = compiler.links('''
|
||||
name : 'supports __float128'
|
||||
)
|
||||
|
||||
if compiler_supports_float128 and is_gcc
|
||||
if compiler_supports_float128 and is_gcc and not is_subproject
|
||||
add_global_arguments('-fext-numeric-literals', language : 'cpp')
|
||||
endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user