From c1e2bdc3d27aa35b49ac32611e1ad0ede3e925cd Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=BCrgen=20Weigert?= Date: Wed, 27 Sep 2017 18:37:45 +0200 Subject: [PATCH] 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 --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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() -- 2.30.2