]> www.ginac.de Git - ginac.git/blobdiff - cmake/modules/FindGiNaC.cmake
Prefer C library wrappers over C headers, where possible.
[ginac.git] / cmake / modules / FindGiNaC.cmake
index e12ed6864ef9e562189e836c08ff930a0580f161..fc50d1c36c4d05e621b380b19e8b6e8bb129bab2 100644 (file)
@@ -116,7 +116,7 @@ if (GINAC_INCLUDE_DIRS AND GINAC_LIBRARIES AND NOT CMAKE_CROSSCOMPILING)
        check_cxx_source_runs("
                #include <ginac/version.h>
                #include <cln/version.h>
        check_cxx_source_runs("
                #include <ginac/version.h>
                #include <cln/version.h>
-               #include <stdio.h>
+               #include <cstdio>
                int main() {
                        return (CL_VERSION_MAJOR == cln::version_major) &&
                               (CL_VERSION_MINOR == cln::version_minor) &&
                int main() {
                        return (CL_VERSION_MAJOR == cln::version_major) &&
                               (CL_VERSION_MINOR == cln::version_minor) &&