From 1150a4352f318ff80b94bad06291489f1846d9d0 Mon Sep 17 00:00:00 2001 From: Benitoite Date: Fri, 7 Feb 2020 00:47:24 -0800 Subject: [PATCH] Re-enable a private LENSFUNDBDIR on Win32 and UNIX Restores a few lines in CMakeLists.txt 2cc8918 removed for non-APPLE systems. --- CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7c60fa37c..6d51503d6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -252,6 +252,12 @@ if(NOT DEFINED APPDATADIR) endif() endif() +if (NOT APPLE) + if(DEFINED LENSFUNDBDIR AND NOT IS_ABSOLUTE "${LENSFUNDBDIR}") + set(LENSFUNDBDIR "${DATADIR}/${LENSFUNDBDIR}") + endif() +endif() + if(APPLE) if("${CODESIGNID}") set(CODESIGNID "${CODESIGNID}" CACHE STRING "Codesigning Identity")