fix check if INOTIFY flag was given on cmake command line.

This commit is contained in:
Klaas Freitag 2012-04-17 13:08:27 +02:00
parent 2f5a3b849c
commit e521d0f53c

View file

@ -66,7 +66,7 @@ set(mirall_HEADERS
)
if( UNIX AND NOT APPLE)
if(NOT USE_INOTIFY)
if(NOT DEFINED USE_INOTIFY)
set(USE_INOTIFY ON)
endif()
endif()
@ -170,4 +170,4 @@ install(TARGETS owncloud
# if building a bundle or not and the install_qt4_executable needs to be called afterwards
if(BUILD_OWNCLOUD_OSX_BUNDLE)
install_qt4_executable(${OWNCLOUD_OSX_BUNDLE} "" "${OWNCLOUD_OSX_BUNDLE}/Contents/Plugins/csync_owncloud.so" ${dirs})
endif()
endif()