macOS: LOCAL_PREFIX default/better negative logic
This commit is contained in:
parent
5ca8c85334
commit
aaab85fbed
|
@ -264,8 +264,8 @@ if(APPLE)
|
||||||
set(NOTARY "${NOTARY}" CACHE STRING "Notarization Identity")
|
set(NOTARY "${NOTARY}" CACHE STRING "Notarization Identity")
|
||||||
endif()
|
endif()
|
||||||
if("${LOCAL_PREFIX}")
|
if("${LOCAL_PREFIX}")
|
||||||
set(LOCAL_PREFIX "${LOCAL_PREFIX}" CACHE STRING "macos/gtk parent directory, ie. /usr or /opt")
|
set(LOCAL_PREFIX "${LOCAL_PREFIX}" CACHE STRING "macos/gtk parent directory ie /usr or /opt")
|
||||||
else()
|
elseif(NOT DEFINED LOCAL_PREFIX)
|
||||||
set(LOCAL_PREFIX "/usr")
|
set(LOCAL_PREFIX "/usr")
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in New Issue