Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1diff --git a/cmake/modules/HandleLLVMOptions.cmake b/cmake/modules/HandleLLVMOptions.cmake 2index 15497d405e0..33f7f18193a 100644 3--- a/cmake/modules/HandleLLVMOptions.cmake 4+++ b/cmake/modules/HandleLLVMOptions.cmake 5@@ -127,7 +127,10 @@ else(WIN32) 6 set(LLVM_HAVE_LINK_VERSION_SCRIPT 1) 7 endif() 8 else(FUCHSIA OR UNIX) 9- MESSAGE(SEND_ERROR "Unable to determine platform") 10+ if(${CMAKE_SYSTEM_NAME} MATCHES "Wasi") 11+ else() 12+ MESSAGE(SEND_ERROR "Unable to determine platform") 13+ endif() 14 endif(FUCHSIA OR UNIX) 15 endif(WIN32) 16