summaryrefslogtreecommitdiffstats
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2019-02-11 18:55:47 +0100
committerSlávek Banko <slavek.banko@axis.cz>2019-02-11 18:56:04 +0100
commitb91935b64151fd4ad547cf6a5dce2e16ab06dc92 (patch)
tree5a3153c0aa8c52e8834a4c696508f77d8407ebda /ConfigureChecks.cmake
parent5f7a92ca0add50783e703850770d20e0ae1dcb52 (diff)
downloadtdebase-b91935b64151fd4ad547cf6a5dce2e16ab06dc92.tar.gz
tdebase-b91935b64151fd4ad547cf6a5dce2e16ab06dc92.zip
Port TIME_WITH_SYS_TIME to CMake.
This resolves FTBFS from commit 05dc8500dd. Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 98abb9e8ee924fb0b19cf8bfc40752f97ed8afb3)
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r--ConfigureChecks.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
index 8c367ab22..d73aa59e4 100644
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -70,6 +70,7 @@ endif( )
# sys/time.h (tdeioslave/sftp, ksmserver, ksplashml)
if( BUILD_KSMSERVER OR BUILD_KSPLASHML OR BUILD_TDEIOSLAVES)
check_include_file( sys/time.h HAVE_SYS_TIME_H )
+ check_include_files( "sys/time.h;time.h" TIME_WITH_SYS_TIME )
endif( )