Only use CPM on OSX and Windows

This commit is contained in:
NepDisk 2025-12-14 17:27:15 -05:00
parent cfc42c96ec
commit a6661fc2e6

View file

@ -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(