diff options
Diffstat (limited to 'cmake')
| -rw-r--r-- | cmake/setup.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cmake/setup.cmake b/cmake/setup.cmake index 0a710b6..3c91285 100644 --- a/cmake/setup.cmake +++ b/cmake/setup.cmake @@ -47,6 +47,10 @@ check_include_file(stdint.h HAVE_STDINT_H) if(NOT HAVE_STDINT_H) add_compile_definitions(NO_STDINT_H) endif() +check_include_file(tgmath.h HAVE_TGMATH_H) +if(NOT HAVE_TGMATH_H) + add_compile_definitions(NO_TGMATH_H) +endif() # Try to normalise source file pathnames as seen in __FILE__ (e.g. # assertion failure messages). Partly to avoid bloating the binaries |