summaryrefslogtreecommitdiffstats
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2012-10-29 04:12:14 +0100
committerSlávek Banko <slavek.banko@axis.cz>2012-10-29 04:12:14 +0100
commitaf8d937e62c921f46a41232a7aa64a747f9fcb15 (patch)
treec58e2293f84115512445400f5a30c450ff7b9616 /ConfigureChecks.cmake
parent6ef120bb4acda24b8fe1ff98c0bd0fd2bd848a81 (diff)
downloadamarok-af8d937e62c921f46a41232a7aa64a747f9fcb15.tar.gz
amarok-af8d937e62c921f46a41232a7aa64a747f9fcb15.zip
Add conditionnal inotify support
Thanks to Francois Andriot
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r--ConfigureChecks.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
index 4bf5d870..377fa4d3 100644
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -38,7 +38,7 @@ check_include_file( systems.h HAVE_SYSTEMS_H )
##### check for inotify ###########################
-# if( WITH_INOTIFY )
+if( WITH_INOTIFY )
check_include_file( "inotify.h" INOTIFY_FOUND )
check_include_file( "sys/inotify.h" INOTIFY_SYS_FOUND )
if( NOT INOTIFY_FOUND )
@@ -53,7 +53,7 @@ check_include_file( systems.h HAVE_SYSTEMS_H )
set( HAVE_INOTIFY 1 )
set( HAVE_SYS_INOTIFY 1 )
endif( INOTIFY_SYS_FOUND )
-# endif( )
+endif( )
check_function_exists( statvfs HAVE_STATVFS )