SRB2/thirdparty/CMakeLists.txt

24 lines
554 B
Text
Raw Normal View History

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}")
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()
2024-02-25 00:37:38 +00:00
if("${SRB2_CONFIG_USE_GME}")
include("cpm-libgme.cmake")
endif()