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
parent b07ab14c31
commit c85ace11dd

View file

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