Skip to content

Commit 04d671a

Browse files
authored
Make disabling DYNAMIC_ARCH on unsupported systems work
needs to be unset in the cache for the change to have any effect
1 parent f69a0be commit 04d671a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cmake/arch.cmake

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,8 @@ if (DYNAMIC_ARCH)
8181
endif ()
8282

8383
if (NOT DYNAMIC_CORE)
84-
unset(DYNAMIC_ARCH)
84+
message (STATUS "DYNAMIC_ARCH is not supported on this architecture, removing from options")
85+
unset(DYNAMIC_ARCH CACHE)
8586
endif ()
8687
endif ()
8788

0 commit comments

Comments
 (0)