fix CMakeLists.txt vs. configure inconsistencies

- atomic subsystem is disabled by default (changed in configure)
- SDL_WAYLAND_LIBDECOR is disabled by default if SDL_WAYLAND is not set (changed in CMakeLists.txt)
This commit is contained in:
pionere
2022-01-12 13:05:12 +01:00
committed by Ryan C. Gordon
parent 95f30c7a48
commit 21510387cf
3 changed files with 17 additions and 3 deletions

7
configure vendored
View File

@@ -17954,7 +17954,12 @@ SOURCES="$SOURCES $srcdir/src/locale/*.c"
if test "${enable_atomic+set}" = set; then :
enableval=$enable_atomic;
else
enable_atomic=yes
case "$host" in
*-*-emscripten*)
enable_atomic=no;;
*)
enable_atomic=yes;;
esac
fi
if test x$enable_atomic != xyes; then