Make disabling DYNAMIC_ARCH on unsupported systems work
needs to be unset in the cache for the change to have any effect
@@ -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 ()
