diff options
author | David Kalnischkies <david@kalnischkies.de> | 2018-05-04 19:02:23 +0200 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2018-05-05 00:34:22 +0200 |
commit | 5f9c05db78926dfb063fdd0493ecc6b8e12c2e02 (patch) | |
tree | a05f9b87d660dc1f4b7cb20de1f8c59eec5ea7a7 /CMakeLists.txt | |
parent | 1d77c915005f7630949e2ce706055ee3235009b6 (diff) |
Avoid implicitly promotion of float to double
Reported-By: gcc -Wdouble-promotion
Gbp-Dch: Ignore
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index ecfa5ed1d..3607bba2b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -68,6 +68,7 @@ add_optional_compile_options(Wmissing-include-dirs) add_optional_compile_options(Wnoexcept) add_optional_compile_options(Wsign-promo) add_optional_compile_options(Wundef) +add_optional_compile_options(Wdouble-promotion) # apt-ftparchive dependencies find_package(BerkeleyDB REQUIRED) |