2022-10-11 03:20:59 +00:00
|
|
|
macro(export)
|
|
|
|
endmacro()
|
|
|
|
|
|
|
|
if(SRB2_CONFIG_SHARED_INTERNAL_LIBRARIES)
|
|
|
|
set(SRB2_INTERNAL_LIBRARY_TYPE SHARED)
|
|
|
|
set(NOT_SRB2_CONFIG_SHARED_INTERNAL_LIBRARIES OFF)
|
|
|
|
else()
|
|
|
|
set(SRB2_INTERNAL_LIBRARY_TYPE STATIC)
|
|
|
|
set(NOT_SRB2_CONFIG_SHARED_INTERNAL_LIBRARIES ON)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
if(NOT "${SRB2_CONFIG_SYSTEM_LIBRARIES}")
|
2023-08-01 02:29:45 +00:00
|
|
|
include("cpm-sdl2.cmake")
|
|
|
|
include("cpm-sdl2-mixer.cmake")
|
|
|
|
include("cpm-zlib.cmake")
|
|
|
|
include("cpm-png.cmake")
|
|
|
|
include("cpm-curl.cmake")
|
|
|
|
include("cpm-openmpt.cmake")
|
2022-10-11 03:20:59 +00:00
|
|
|
endif()
|
|
|
|
|
2023-08-01 02:29:45 +00:00
|
|
|
include("cpm-libgme.cmake")
|