Skip to content

Commit 6492005

Browse files
Drop CMAKE_HOST_SYSTEM_NAME check
Fixes #28
1 parent 58793bf commit 6492005

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

config/cmake/configure_trn.cmake

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -175,9 +175,6 @@ function(configure_trn)
175175
set(STRING_CASE_COMPARE_SOURCES_strings "")
176176
set(STRING_CASE_COMPARE_SOURCES_manual "string_case_compare.cpp")
177177
set(STRING_CASE_COMPARE_SOURCES ${STRING_CASE_COMPARE_SOURCES_${STRING_CASE_COMPARE_FLAVOR}} PARENT_SCOPE)
178-
if((NOT CMAKE_HOST_SYSTEM_NAME STREQUAL "Linux") AND (NOT CMAKE_HOST_SYSTEM_NAME STREQUAL "Windows"))
179-
message(FATAL_ERROR "Unknown system ${CMAKE_HOST_SYSTEM_NAME}; expected 'Linux' or 'Windows'")
180-
endif()
181178
configure_flavor_header("fdio" "${FDIO_FLAVOR}")
182179
configure_flavor_header("pipe_io" "${PIPE_IO_FLAVOR}")
183180
configure_flavor_header("string_case_compare" "${STRING_CASE_COMPARE_FLAVOR}")

0 commit comments

Comments
 (0)