Skip to content
Permalink
Browse files

Make disabling DYNAMIC_ARCH on unsupported systems work

needs to be unset in the cache for the change to have any effect
  • Loading branch information...
martin-frbg committed Jul 6, 2019
1 parent f69a0be commit 04d671aae2b452a0bf63837c289f8948c35eb675
Showing with 2 additions and 1 deletion.
  1. +2 −1 cmake/arch.cmake
@@ -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 ()

0 comments on commit 04d671a

Please sign in to comment.
You can’t perform that action at this time.