• Chad Versace's avatar
    cmake,waffle: Bump requirement to waffle>=1.0 · a408cfab
    Chad Versace authored
    If piglit is configured to use waffle, then use pkgconfig to require
    waffle>=1.0. Also, replace the custom cmake WAFFLE variables with those
    provided by the pkg_check_modules.
    Waffle 1.0 moved its header directory from $prefix/include/waffle to
    $prefix/include/waffle-1. So add '-I $prefix/include/waffle-1' to the
    CFLAGS and update the #include directives appropriately.
    Signed-off-by: default avatarChad Versace <chad@chad.versace.us>
CMakeLists.txt 7.49 KB