mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-29 12:19:03 +03:00
Check for INotify if compiling for Linuxe and friends
This commit is contained in:
parent
04d8c82dbd
commit
688d394576
2 changed files with 10 additions and 0 deletions
|
@ -77,6 +77,11 @@ endif()
|
||||||
#endif()
|
#endif()
|
||||||
find_package(Neon REQUIRED)
|
find_package(Neon REQUIRED)
|
||||||
find_package(QtKeychain REQUIRED)
|
find_package(QtKeychain REQUIRED)
|
||||||
|
if(UNIX)
|
||||||
|
find_package(INotify REQUIRED)
|
||||||
|
else()
|
||||||
|
find_package(INotify)
|
||||||
|
endif()
|
||||||
find_package(Sphinx)
|
find_package(Sphinx)
|
||||||
find_package(PdfLatex)
|
find_package(PdfLatex)
|
||||||
|
|
||||||
|
|
|
@ -19,6 +19,11 @@ if ( APPLE )
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
IF(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
|
||||||
|
list(APPEND OS_SPECIFIC_LINK_LIBRARIES
|
||||||
|
inotify
|
||||||
|
)
|
||||||
|
ENDIF(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
|
||||||
|
|
||||||
if( ENABLE_SPARKLE AND SPARKLE )
|
if( ENABLE_SPARKLE AND SPARKLE )
|
||||||
set( HAVE_SPARKLE ON )
|
set( HAVE_SPARKLE ON )
|
||||||
|
|
Loading…
Reference in a new issue