Use __has_include() instead of check_include_file()
Allows removing some CMake checks config-kwin.h contents. This is supported by all compilers and required for C++17. While touching those lines I also cleaned up an unnecessary HAVE_UNISTD_H check (glibc always has it and and incorrect use of HAVE_SYS_PROCCTL_H.master
parent
994c5c24ae
commit
0a0a1fd330
Loading…
Reference in New Issue