Only use CPM on OSX and Windows
This commit is contained in:
parent
cfc42c96ec
commit
a6661fc2e6
1 changed files with 3 additions and 3 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Reference in a new issue