mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 01:29:42 -06:00
CMakeLists: Don't dump libpng's includes into the top-level directory
Instead, add the includes to the target, which only libraries that link it in can actually see.
This commit is contained in:
@ -599,7 +599,6 @@ if (PNG_FOUND)
|
||||
else()
|
||||
message(STATUS "Using static libpng from Externals")
|
||||
add_subdirectory(Externals/libpng)
|
||||
include_directories(Externals/libpng)
|
||||
set(PNG png)
|
||||
endif()
|
||||
|
||||
|
Reference in New Issue
Block a user