diff options
author | aneejit1 <[email protected]> | 2020-07-07 23:48:23 +0000 |
---|---|---|
committer | aneejit1 <[email protected]> | 2020-07-27 19:23:55 +0000 |
commit | ae1e54e0d428456fab3fc50d328835d7ed7d6adc (patch) | |
tree | 55a2a8e625b3434c36b93cc5f3e8d72300da3e43 /ConfigureChecks.cmake | |
parent | 24a8daa732cca8b4cfbc882334c61ff42bd52689 (diff) | |
download | tdebase-ae1e54e0d428456fab3fc50d328835d7ed7d6adc.tar.gz tdebase-ae1e54e0d428456fab3fc50d328835d7ed7d6adc.zip |
Set required includes before checking for scrnsaver.h
Signed-off-by: aneejit1 <[email protected]>
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r-- | ConfigureChecks.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake index dc07f39fc..fb3f4c3f2 100644 --- a/ConfigureChecks.cmake +++ b/ConfigureChecks.cmake @@ -283,7 +283,9 @@ if( WITH_XSCREENSAVER ) endif( ) endif( ) + tde_save_and_set( CMAKE_REQUIRED_INCLUDES "${XSS_INCLUDE_DIRS}" ) check_include_file( X11/extensions/scrnsaver.h HAVE_XSCREENSAVER_H ) + tde_restore( CMAKE_REQUIRED_INCLUDES ) if( HAVE_XSSLIB AND HAVE_XSCREENSAVER_H ) set( HAVE_XSCREENSAVER 1 ) else( ) |