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