From a6661fc2e64b15fffff8aa908a4ee9ab499532ee Mon Sep 17 00:00:00 2001 From: NepDisk Date: Sun, 14 Dec 2025 17:27:15 -0500 Subject: [PATCH] Only use CPM on OSX and Windows --- CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 546ce6f20..bc89f251e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -52,10 +52,10 @@ include(CPack) # Options -if("${CMAKE_SYSTEM_NAME}" MATCHES Linux) - set(SRB2_CONFIG_SYSTEM_LIBRARIES_DEFAULT ON) -else() +if(("${CMAKE_SYSTEM_NAME}" MATCHES Windows) OR ("${CMAKE_SYSTEM_NAME}" MATCHES Darwin)) set(SRB2_CONFIG_SYSTEM_LIBRARIES_DEFAULT OFF) +else() + set(SRB2_CONFIG_SYSTEM_LIBRARIES_DEFAULT ON) endif() option(