From: Jürgen Weigert Date: Wed, 27 Sep 2017 16:37:45 +0000 (+0200) Subject: Update CMakeLists.txt X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~701^2~18 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=c1e2bdc3d27aa35b49ac32611e1ad0ede3e925cd;p=nextcloud-desktop.git Update CMakeLists.txt Make admin folder optional. It is needed for osx, but it is deleted from Linux builds for the sake of easier license review as discussed in https://github.com/owncloud/client/issues/6005 --- diff --git a/CMakeLists.txt b/CMakeLists.txt index c8ea19820..9b1790d07 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -245,7 +245,9 @@ if(BUILD_CLIENT) if(NOT BUILD_LIBRARIES_ONLY) add_subdirectory(doc) add_subdirectory(doc/dev) - add_subdirectory(admin) + if(IS_DIRECTORY admin) + add_subdirectory(admin) + endif(IS_DIRECTORY admin) endif(NOT BUILD_LIBRARIES_ONLY) endif()