mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-23 10:22:49 +00:00
generic: replace cmake_pop_check_state() with cmake_reset_check_state()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
1373cf6752
commit
01dd6d631d
2 changed files with 6 additions and 6 deletions
|
@ -96,7 +96,7 @@ cmake_reset_check_state()
|
|||
set(CMAKE_REQUIRED_LIBRARIES ${X11_Xext_LIB})
|
||||
check_symbol_exists(DPMSCapable "X11/Xlib.h;X11/extensions/dpms.h" HAVE_DPMSCAPABLE_PROTO)
|
||||
check_symbol_exists(DPMSInfo "X11/Xlib.h;X11/extensions/dpms.h" HAVE_DPMSINFO_PROTO)
|
||||
cmake_pop_check_state()
|
||||
cmake_reset_check_state()
|
||||
|
||||
cmake_reset_check_state()
|
||||
set(CMAKE_REQUIRED_INCLUDES ${X11_Xrandr_INCLUDE_PATH}/Xrandr.h)
|
||||
|
@ -105,4 +105,4 @@ check_function_exists(XRRGetScreenSizeRange XRANDR_1_2_FOUND)
|
|||
macro_bool_to_01(XRANDR_1_2_FOUND HAS_RANDR_1_2)
|
||||
check_function_exists(XRRGetScreenResourcesCurrent XRANDR_1_3_FOUND)
|
||||
macro_bool_to_01(XRANDR_1_3_FOUND HAS_RANDR_1_3)
|
||||
cmake_pop_check_state()
|
||||
cmake_reset_check_state()
|
||||
|
|
|
@ -44,7 +44,7 @@ if (PAM_FOUND)
|
|||
set(CMAKE_REQUIRED_LIBRARIES ${PAM_LIBRARIES})
|
||||
check_function_exists(pam_getenvlist HAVE_PAM_GETENVLIST)
|
||||
endif (PAM_FOUND)
|
||||
cmake_pop_check_state()
|
||||
cmake_reset_check_state()
|
||||
|
||||
|
||||
macro(define_library LIB FN)
|
||||
|
@ -98,7 +98,7 @@ int main()
|
|||
return errno != EACCES;
|
||||
}
|
||||
" HONORS_SOCKET_PERMS)
|
||||
cmake_pop_check_state()
|
||||
cmake_reset_check_state()
|
||||
|
||||
# for genkdmconf; this is TODO
|
||||
#if (EXISTS /etc/ttys)
|
||||
|
@ -172,7 +172,7 @@ if (X11_Xdmcp_FOUND)
|
|||
cmake_reset_check_state()
|
||||
set(CMAKE_REQUIRED_LIBRARIES ${X11_LIBRARIES})
|
||||
check_function_exists(XdmcpWrap HASXDMAUTH)
|
||||
cmake_pop_check_state()
|
||||
cmake_reset_check_state()
|
||||
endif (X11_Xdmcp_FOUND)
|
||||
|
||||
option(KDE4_KERBEROS4 "Compile KDM with Kerberos v4 support" OFF)
|
||||
|
@ -206,7 +206,7 @@ macro_bool_to_01(KDE4_KDM_XCONSOLE WITH_KDM_XCONSOLE)
|
|||
cmake_reset_check_state()
|
||||
set(CMAKE_REQUIRED_LIBRARIES ${NSL_LIBRARIES})
|
||||
check_function_exists(getifaddrs HAVE_GETIFADDRS)
|
||||
cmake_pop_check_state()
|
||||
cmake_reset_check_state()
|
||||
check_function_exists(getloadavg HAVE_GETLOADAVG)
|
||||
check_function_exists(setproctitle HAVE_SETPROCTITLE)
|
||||
check_function_exists(strnlen HAVE_STRNLEN)
|
||||
|
|
Loading…
Add table
Reference in a new issue