mirror of
https://github.com/microsoft/DirectXTex.git
synced 2026-02-04 04:16:12 +01:00
Add Auxiliary files for JPEG/PNG support on Linux (#407)
This commit is contained in:
@@ -13,6 +13,16 @@ if(ENABLE_OPENEXR_SUPPORT)
|
||||
find_dependency(OpenEXR)
|
||||
endif()
|
||||
|
||||
set(ENABLE_LIBJPEG_SUPPORT @ENABLE_LIBJPEG_SUPPORT@)
|
||||
if(ENABLE_LIBJPEG_SUPPORT)
|
||||
find_dependency(JPEG)
|
||||
endif()
|
||||
|
||||
set(ENABLE_LIBPNG_SUPPORT @ENABLE_LIBPNG_SUPPORT@)
|
||||
if(ENABLE_LIBPNG_SUPPORT)
|
||||
find_dependency(PNG)
|
||||
endif()
|
||||
|
||||
if(MINGW OR (NOT WIN32))
|
||||
find_dependency(directx-headers)
|
||||
find_dependency(directxmath)
|
||||
|
||||
Reference in New Issue
Block a user