mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 17:19:44 -06:00
On linux don't check to see if the xdg-screensaver program is present at build time. Just build in the code to call the program. If the program does not exist it will silently fail, and the screensaver will not be inhibited.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7606 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -231,15 +231,6 @@ if(ENCODE_FRAMEDUMPS)
|
||||
check_libav()
|
||||
endif()
|
||||
|
||||
find_program(XDG_SCREENSAVER xdg-screensaver)
|
||||
if(XDG_SCREENSAVER)
|
||||
message("xdg-screensaver found, enabling screensaver inhibition")
|
||||
add_definitions(-DHAVE_XDG_SCREENSAVER=1)
|
||||
else()
|
||||
message("xdg-screensaver not found, disabling screensaver inhibition")
|
||||
add_definitions(-DHAVE_XDG_SCREENSAVER=0)
|
||||
endif()
|
||||
|
||||
include(CheckCXXSourceRuns)
|
||||
set(CMAKE_REQUIRED_LIBRARIES portaudio)
|
||||
CHECK_CXX_SOURCE_RUNS(
|
||||
|
Reference in New Issue
Block a user