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.
This commit is contained in:
parent
7c9692c8c5
commit
089081d173
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue