summaryrefslogtreecommitdiffstats
path: root/kstars/ConfigureChecks.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'kstars/ConfigureChecks.cmake')
-rw-r--r--kstars/ConfigureChecks.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/kstars/ConfigureChecks.cmake b/kstars/ConfigureChecks.cmake
index 41184537..4df776a8 100644
--- a/kstars/ConfigureChecks.cmake
+++ b/kstars/ConfigureChecks.cmake
@@ -48,6 +48,11 @@ if( WITH_V4L )
tde_message_fatal( "video4linux support is requested, but videodev2.h or videodev.h was not found on your system" )
endif( )
endif( )
+
+ check_include_file( "sys/io.h" HAVE_SYS_IO_H )
+ if( HAVE_SYS_IO_H )
+ check_symbol_exists( "ioperm" "sys/io.h" HAVE_IOPERM )
+ endif( )
endif( )