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
This commit is contained in:
Jürgen Weigert 2017-09-27 18:37:45 +02:00 committed by Roeland Jago Douma
parent 09c3043c85
commit c1e2bdc3d2
No known key found for this signature in database
GPG Key ID: F941078878347C0C

View File

@ -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()