Make disabling DYNAMIC_ARCH on unsupported systems work

needs to be unset in the cache for the change to have any effect
This commit is contained in:
Martin Kroeker 2019-07-06 15:05:04 +02:00 committed by GitHub
parent f69a0be712
commit 04d671aae2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -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 ()