Fix cmake breakage (thanks Marcus)
authorJørgen P. Tjernø <jorgen@valvesoftware.com>
Fri, 26 Jul 2013 13:30:24 -0700
changeset 752103bca9a4180d
parent 7520 24fd80e8baaf
child 7522 b186724247dd
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
     1.1 --- a/cmake/sdlchecks.cmake	Fri Jul 26 12:37:36 2013 -0300
     1.2 +++ b/cmake/sdlchecks.cmake	Fri Jul 26 13:30:24 2013 -0700
     1.3 @@ -19,7 +19,7 @@
     1.4      check_c_source_compiles("
     1.5         #include <dlfcn.h>
     1.6         int main(int argc, char **argv) {
     1.7 -         void *handle = dlopen("", RTLD_NOW);
     1.8 +         void *handle = dlopen(\"\", RTLD_NOW);
     1.9           const char *loaderror = (char *) dlerror();
    1.10         }" HAVE_DLOPEN)
    1.11      set(CMAKE_REQUIRED_LIBRARIES)