aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorswirl <swurl@swurl.xyz>2022-01-08 23:51:10 -0500
committerGitHub <noreply@github.com>2022-01-08 23:51:10 -0500
commit3b09ee97be4de31b68f7863f7f863418ca59eaf7 (patch)
tree078e77d44752bd3f63963edbb5de6c5d0a06615c
parent42eb011e3f8a078c8fc2749bc5dd6ce8d249be7c (diff)
parent390a90b36117d428fe002a19b2c47d0f127b45fe (diff)
downloadPrismLauncher-3b09ee97be4de31b68f7863f7f863418ca59eaf7.tar.gz
PrismLauncher-3b09ee97be4de31b68f7863f7f863418ca59eaf7.tar.bz2
PrismLauncher-3b09ee97be4de31b68f7863f7f863418ca59eaf7.zip
Merge pull request #33 from getchoo/remove-wsl-detection
stop cmake from blocking builds on wsl
-rw-r--r--CMakeLists.txt8
-rw-r--r--libraries/katabasis/CMakeLists.txt8
2 files changed, 0 insertions, 16 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index bd5057a4..7439491d 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 c6115881..d579dc29 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()