unset DYNAMIC_ARCH in cmake cache if unsupported
simply unsetting it in the current context does nothing
This commit is contained in:
parent
fd7403d198
commit
5bd3698a98
|
@ -81,7 +81,8 @@ if (DYNAMIC_ARCH)
|
|||
endif ()
|
||||
|
||||
if (NOT DYNAMIC_CORE)
|
||||
unset(DYNAMIC_ARCH)
|
||||
message (STATUS "DYNAMIC_ARCH is not supported on this architecture, removing from options")
|
||||
unset(DYNAMIC_ARCH CACHE)
|
||||
endif ()
|
||||
endif ()
|
||||
|
||||
|
|
Loading…
Reference in New Issue