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.
parent
994c5c24
-
mentioned in commit fd8b9b59
-
mentioned in merge request !2354 (merged)
-
mentioned in commit 35c36be1
Please register or sign in to comment