Mac: set a cached variable with codesign ID
This commit is contained in:
parent
93f404fd79
commit
efaae15f11
@ -252,6 +252,12 @@ if(DEFINED LENSFUNDBDIR AND NOT IS_ABSOLUTE "${LENSFUNDBDIR}")
|
||||
set(LENSFUNDBDIR "${DATADIR}/${LENSFUNDBDIR}")
|
||||
endif()
|
||||
|
||||
if(APPLE)
|
||||
if("${CODESIGNID}")
|
||||
set(CODESIGNID "${CODESIGNID}" CAHCE STRING "Codesigning Identity")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# Enforce absolute paths for non-bundle builds:
|
||||
if(NOT BUILD_BUNDLE)
|
||||
foreach(path BINDIR DATADIR LIBDIR DOCDIR CREDITSDIR LICENCEDIR)
|
||||
|
Loading…
x
Reference in New Issue
Block a user