mirror of
https://github.com/cemu-project/vcpkg.git
synced 2025-02-22 18:47:09 +01:00
[irrlicht] do not build exisiting dependencies
Since libjpeg, libpng, zlib and bzlib are provided as dependencies through vcpkg, we disable building them in irrlicht. This fixes a runtime error steming from a version mismatch between the libjpeg versions provided by irrlicht and vcpkg respectively
This commit is contained in:
parent
5ff7548931
commit
17e9132f73
@ -137,6 +137,14 @@ if(NOT ${IRR_SHARED_LIB})
|
||||
target_compile_definitions(Irrlicht PUBLIC _IRR_STATIC_LIB_)
|
||||
endif()
|
||||
|
||||
# Disable Irrlicht building already provided dependencies
|
||||
target_compile_definitions(Irrlicht
|
||||
PRIVATE NO_IRR_USE_NON_SYSTEM_ZLIB_
|
||||
PRIVATE NO_IRR_USE_NON_SYSTEM_LIB_PNG_
|
||||
PRIVATE NO_IRR_USE_NON_SYSTEM_BZLIB_
|
||||
PRIVATE NO_IRR_USE_NON_SYSTEM_JPEG_LIB_
|
||||
)
|
||||
|
||||
# Per platform config
|
||||
# -------------------------------------------------------------------------------------------------
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
Source: irrlicht
|
||||
Version: 1.8.4-3
|
||||
Version: 1.8.4-4
|
||||
Homepage: http://irrlicht.sourceforge.net
|
||||
Description: Irrlicht lightning fast 3d engine
|
||||
Build-Depends: zlib, libpng, bzip2, libjpeg-turbo
|
||||
|
Loading…
x
Reference in New Issue
Block a user