Browse Source

Merge commit '3853531f6d11d1824b6a0ce0212c06e79483d22d' into main

Sam Lantinga 4 years ago
parent
commit
aa00fe4b2f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      cmake/sdlchecks.cmake

+ 1 - 1
cmake/sdlchecks.cmake

@@ -799,7 +799,7 @@ endmacro()
 # - PkgCheckModules
 macro(CheckEGL)
   pkg_check_modules(EGL egl)
-  string(REPLACE "-D_THREAD_SAFE;" "-D_THREAD_SAFE=1;" EGL_CFLAGS ${EGL_CFLAGS})
+  string(REPLACE "-D_THREAD_SAFE;" "-D_THREAD_SAFE=1;" EGL_CFLAGS "${EGL_CFLAGS}")
 endmacro()
 
 # Requires: