mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-07-11 01:34:17 +02:00
CMake: Fix issues with linkers failing on Linux
This commit is contained in:
committed by
TellowKrinkle
parent
1b3c3efcd5
commit
a346cff472
+1
-1
@@ -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.")
|
||||
|
||||
Reference in New Issue
Block a user