Skip to content

Commit 7893952

Browse files
committed
cmake: remove unsupported platform thing, they're now considered unknown
We already renamed “unsupported” as “unknown” so it was just by luck we didn't stop the build (what we wanted when changing that).
1 parent 3b35db9 commit 7893952

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

cmake/DaemonArchitecture.cmake

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ try_compile(BUILD_RESULT
4040
# Setting -Werror in CXXFLAGS would produce errors instead of warning
4141
# but that should not break the architecture detection,
4242
# so we only print a CMake warning there and use BUILD_LOG content to
43-
# detect unsupported platforms.
43+
# detect unknown platforms.
4444
# Catching compilation error is still useful, for example to detect
4545
# undefined types, missing header or things like that.
4646
# Setting USE_WERROR to ON doesn't print this warning.
@@ -60,8 +60,6 @@ if (NOT ARCH)
6060
"Missing DAEMON_ARCH, there is a mistake in DaemonArchitecture.cpp\n"
6161
"${BUILD_LOG}"
6262
)
63-
elseif(ARCH STREQUAL "unsupported")
64-
message(FATAL_ERROR "Architecture not supported")
6563
endif()
6664

6765
message(STATUS "Detected architecture: ${ARCH}")

0 commit comments

Comments
 (0)