diff --git a/CMakeLists.txt b/CMakeLists.txt index b2609694..81c04c0e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1420,7 +1420,7 @@ CHECK_C_SOURCE_COMPILES("#define _GNU_SOURCE\n#include \nint main(void # tcp keepalive needs this on linux to work practically... but it only exists # after kernel 2.6.37 -CHECK_C_SOURCE_COMPILES("#include \nint main(void) { return TCP_USER_TIMEOUT; }\n" LWS_HAVE_TCP_USER_TIMEOUT) +CHECK_C_SOURCE_COMPILES("#include \nint main(void) { return TCP_USER_TIMEOUT; }\n" LWS_HAVE_TCP_USER_TIMEOUT) set(CMAKE_REQUIRED_LIBRARIES ${temp}) # Generate the lws_config.h that includes all the public compilation settings.