Simple Directmedia Layer

cmake: really disable xrandr by default on Solaris

Fixes libsdl-org/SDL#10099

Changed files
+4 -4
+4 -4
CMakeLists.txt
··· 281 281 set(SDL_PRESEED_AVAILABLE ON) 282 282 endif() 283 283 284 - set(SDL_X11_XFIXES_DEFAULT ON) 284 + set(SDL_X11_XRANDR_DEFAULT ON) 285 285 if(SOLARIS) 286 - set(SDL_X11_XFIXES_DEFAULT OFF) 286 + set(SDL_X11_XRANDR_DEFAULT OFF) 287 287 endif() 288 288 289 289 # Allow some projects to be built conditionally. ··· 345 345 dep_option(SDL_X11_XCURSOR "Enable Xcursor support" ON SDL_X11 OFF) 346 346 dep_option(SDL_X11_XDBE "Enable Xdbe support" ON SDL_X11 OFF) 347 347 dep_option(SDL_X11_XINPUT "Enable XInput support" ON SDL_X11 OFF) 348 - dep_option(SDL_X11_XFIXES "Enable Xfixes support" "${SDL_X11_XFIXES_DEFAULT}" SDL_X11 OFF) 349 - dep_option(SDL_X11_XRANDR "Enable Xrandr support" ON SDL_X11 OFF) 348 + dep_option(SDL_X11_XFIXES "Enable Xfixes support" ON SDL_X11 OFF) 349 + dep_option(SDL_X11_XRANDR "Enable Xrandr support" "${SDL_X11_XRANDR_DEFAULT}" SDL_X11 OFF) 350 350 dep_option(SDL_X11_XSCRNSAVER "Enable Xscrnsaver support" ON SDL_X11 OFF) 351 351 dep_option(SDL_X11_XSHAPE "Enable XShape support" ON SDL_X11 OFF) 352 352 dep_option(SDL_X11_XSYNC "Enable Xsync support" ON SDL_X11 OFF)