1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-15 07:01:18 +02:00

Use libjpeg-turbo as a wxWidgets dependecy

Turns out, libjpeg is downloaded over plain HTTP from the official IJG site. It is now replaced with libjpeg-turbo.
This commit is contained in:
Dmitry Vedenko
2021-05-29 00:32:01 +03:00
committed by Dmitry Vedenko
parent 68bd49da87
commit 7c1f843322
3 changed files with 26 additions and 1 deletions

View File

@@ -267,3 +267,15 @@ macro( resolve_conan_dependencies )
include(${f})
endforeach()
endmacro()
macro ( find_required_package package_name system_package_name )
find_package ( ${package_name} QUIET ${ARGN} )
if ( NOT ${package_name}_FOUND )
if (CMAKE_SYSTEM_NAME MATCHES "Darwin|Windows")
message( FATAL_ERROR "Error: ${package_name} is required")
else()
message( FATAL_ERROR "Error: ${package_name} is required.\nPlease install it with using command like:\n\t\$ sudo apt install ${system_package_name}" )
endif()
endif()
endmacro()