diff options
author | seth <getchoo@tuta.io> | 2022-01-08 22:49:30 -0500 |
---|---|---|
committer | seth <getchoo@tuta.io> | 2022-01-08 22:49:30 -0500 |
commit | 390a90b36117d428fe002a19b2c47d0f127b45fe (patch) | |
tree | 078e77d44752bd3f63963edbb5de6c5d0a06615c /CMakeLists.txt | |
parent | 42eb011e3f8a078c8fc2749bc5dd6ce8d249be7c (diff) | |
download | PrismLauncher-390a90b36117d428fe002a19b2c47d0f127b45fe.tar.gz PrismLauncher-390a90b36117d428fe002a19b2c47d0f127b45fe.tar.bz2 PrismLauncher-390a90b36117d428fe002a19b2c47d0f127b45fe.zip |
stop cmake from blocking builds on wsl
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 8 |
1 files changed, 0 insertions, 8 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) |