Browse Source

unset DYNAMIC_ARCH in cmake cache if unsupported

simply unsetting it in the current context does nothing
pull/2165/head
Martin Kroeker GitHub 7 years ago
parent
commit
5bd3698a98
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      cmake/arch.cmake

+ 2
- 1
cmake/arch.cmake 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 ()



Loading…
Cancel
Save