diff --git a/CMakeLists.txt b/CMakeLists.txt index bd5057a48..7439491da 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -13,14 +13,6 @@ if(IS_IN_SOURCE_BUILD) message(FATAL_ERROR "You are building the Launcher in-source. Please separate the build tree from the source tree.") endif() -if (CMAKE_SYSTEM_NAME STREQUAL "Linux") - if(CMAKE_HOST_SYSTEM_VERSION MATCHES ".*[Mm]icrosoft.*" OR - CMAKE_HOST_SYSTEM_VERSION MATCHES ".*WSL.*" - ) - message(FATAL_ERROR "Building the Launcher is not supported in Linux-on-Windows distributions.") - endif() -endif() - ##################################### Set CMake options ##################################### set(CMAKE_AUTOMOC ON) diff --git a/libraries/katabasis/CMakeLists.txt b/libraries/katabasis/CMakeLists.txt index c6115881d..d579dc29a 100644 --- a/libraries/katabasis/CMakeLists.txt +++ b/libraries/katabasis/CMakeLists.txt @@ -5,14 +5,6 @@ if(IS_IN_SOURCE_BUILD) message(FATAL_ERROR "You are building Katabasis in-source. Please separate the build tree from the source tree.") endif() -if (CMAKE_SYSTEM_NAME STREQUAL "Linux") - if(CMAKE_HOST_SYSTEM_VERSION MATCHES ".*[Mm]icrosoft.*" OR - CMAKE_HOST_SYSTEM_VERSION MATCHES ".*WSL.*" - ) - message(FATAL_ERROR "Building Katabasis is not supported in Linux-on-Windows distributions. Use a real Linux machine, not a fraudulent one.") - endif() -endif() - project(Katabasis) enable_testing()