lensfun: added possibility to use a private copy of the LF database

This commit is contained in:
Alberto Griggio
2017-09-14 11:34:41 +02:00
parent 5b3d60bf56
commit 008f280e29
7 changed files with 40 additions and 4 deletions

View File

@@ -231,6 +231,10 @@ if(NOT DEFINED APPDATADIR)
endif()
endif()
if(DEFINED LENSFUNDBDIR AND NOT IS_ABSOLUTE "${LENSFUNDBDIR}")
set(LENSFUNDBDIR "${DATADIR}/${LENSFUNDBDIR}")
endif()
# Enforce absolute paths for non-bundle builds:
if(NOT BUILD_BUNDLE)
foreach(path BINDIR DATADIR LIBDIR DOCDIR CREDITSDIR LICENCEDIR)