mirror of
https://github.com/yuzu-mirror/yuzu.git
synced 2024-11-16 18:47:33 +01:00
CMake: Silence PNG not found error
Hopefully this will make people stop thinking it's a hard dependency.
This commit is contained in:
parent
ed8f32f03e
commit
361735e7fe
@ -33,10 +33,12 @@ else()
|
|||||||
endif()
|
endif()
|
||||||
add_definitions(-DSINGLETHREADED)
|
add_definitions(-DSINGLETHREADED)
|
||||||
|
|
||||||
find_package(PNG)
|
find_package(PNG QUIET)
|
||||||
if (PNG_FOUND)
|
if (PNG_FOUND)
|
||||||
add_definitions(-DHAVE_PNG)
|
add_definitions(-DHAVE_PNG)
|
||||||
endif ()
|
else()
|
||||||
|
message(STATUS "libpng not found. Some debugging features have been disabled.")
|
||||||
|
endif()
|
||||||
|
|
||||||
find_package(Boost)
|
find_package(Boost)
|
||||||
if (Boost_FOUND)
|
if (Boost_FOUND)
|
||||||
|
Loading…
Reference in New Issue
Block a user