Allow the OSX build to work without make install

Also deploy sync-exclude.lst to the build directory in this case.
This commit is contained in:
Jocelyn Turcotte 2015-07-06 14:59:08 +02:00
Родитель b07ab14c31
Коммит c85ace11dd
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -210,6 +210,7 @@ endif(UNIT_TESTING)
if(BUILD_OWNCLOUD_OSX_BUNDLE)
install(FILES sync-exclude.lst DESTINATION ${OWNCLOUD_OSX_BUNDLE}/Contents/Resources/)
configure_file(sync-exclude.lst bin/${OWNCLOUD_OSX_BUNDLE}/Contents/Resources/sync-exclude.lst COPYONLY)
else()
install( FILES sync-exclude.lst DESTINATION ${SYSCONFDIR}/${APPLICATION_SHORTNAME} )
configure_file(sync-exclude.lst bin/sync-exclude.lst COPYONLY)