From 83f54d90ad7ae76f75e52734d6e0e7b127d7938c Mon Sep 17 00:00:00 2001 From: Robin Stacey Date: Fri, 1 Sep 2017 16:00:31 +0900 Subject: [PATCH] Problem: ZMQ_HAVE_O_CLOEXEC always disabled Solution: Escape quotes in cmake test. --- builds/cmake/Modules/ZMQSourceRunChecks.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builds/cmake/Modules/ZMQSourceRunChecks.cmake b/builds/cmake/Modules/ZMQSourceRunChecks.cmake index 67bd0eea..8034d652 100644 --- a/builds/cmake/Modules/ZMQSourceRunChecks.cmake +++ b/builds/cmake/Modules/ZMQSourceRunChecks.cmake @@ -41,7 +41,7 @@ macro(zmq_check_o_cloexec) int main(int argc, char *argv []) { - int s = open ("/dev/null", O_CLOEXEC | O_RDONLY); + int s = open (\"/dev/null\", O_CLOEXEC | O_RDONLY); return (s == -1); } "