Support shared libjpeg-turbo

This commit is contained in:
Luke Street
2026-04-09 19:37:42 -06:00
parent abc54dbc11
commit d88662a849
+5 -1
View File
@@ -217,7 +217,11 @@ set(GAME_LIBS aurora::core aurora::gx aurora::gd aurora::si aurora::vi aurora::p
aurora::card freeverb cxxopts::cxxopts absl::flat_hash_map nlohmann_json::nlohmann_json TracyClient)
if (DUSK_MOVIE_SUPPORT)
list(APPEND GAME_LIBS libjpeg-turbo::turbojpeg-static)
if (TARGET libjpeg-turbo::turbojpeg-static)
list(APPEND GAME_LIBS libjpeg-turbo::turbojpeg-static)
else ()
list(APPEND GAME_LIBS libjpeg-turbo::turbojpeg)
endif ()
list(APPEND GAME_COMPILE_DEFS MOVIE_SUPPORT=1)
endif ()