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)