From 55ad7ccfe37743c6a1f22344c24b141f43f7f7d1 Mon Sep 17 00:00:00 2001 From: "J?rgen P. Tjern?" Date: Fri, 26 Jul 2013 13:30:24 -0700 Subject: [PATCH] Fix cmake breakage (thanks Marcus) My recent change broke the sdlcheck.cmake by not escaping some quotes properly. Thanks to Marcus von Appen for pointing it out and providing the patch. --- cmake/sdlchecks.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/sdlchecks.cmake b/cmake/sdlchecks.cmake index 4d7e34d4e..14fb327b1 100644 --- a/cmake/sdlchecks.cmake +++ b/cmake/sdlchecks.cmake @@ -19,7 +19,7 @@ macro(CheckDLOPEN) check_c_source_compiles(" #include int main(int argc, char **argv) { - void *handle = dlopen("", RTLD_NOW); + void *handle = dlopen(\"\", RTLD_NOW); const char *loaderror = (char *) dlerror(); }" HAVE_DLOPEN) set(CMAKE_REQUIRED_LIBRARIES)