Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

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.
  • Loading branch information
jorgenpt committed Jul 26, 2013
1 parent 96cc254 commit 55ad7ccfe37743c6a1f22344c24b141f43f7f7d1
Showing with 1 addition and 1 deletion.
  1. +1 −1 cmake/sdlchecks.cmake
@@ -19,7 +19,7 @@ macro(CheckDLOPEN)
check_c_source_compiles("
#include <dlfcn.h>
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)

0 comments on commit 55ad7cc

Please sign in to comment.