CMake: Fix issues with linkers failing on Linux

This commit is contained in:
TellowKrinkle
2022-12-07 02:15:53 +01:00
committed by TellowKrinkle
parent 1b3c3efcd5
commit a346cff472
2 changed files with 7 additions and 2 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
# Setting it to a range tells it that it supports the features on the newer
# versions as well, avoiding setting policies.
cmake_minimum_required(VERSION 3.11...3.22)
cmake_minimum_required(VERSION 3.12...3.24)
if(${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_BINARY_DIR})
message(FATAL_ERROR "PCSX2 does not support in-tree builds. Please make a build directory that is not the PCSX2 source directory and generate your CMake project there using either `cmake -B build_directory` or by running cmake from the build directory.")