mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-30 14:39:00 +08:00
dc61560b9e
* Fix find_package(libpng CONFIG) * Fix typos
7 lines
382 B
CMake
7 lines
382 B
CMake
# The upstream CMakeLists.txt exports libpng's targets to a file named `libpng16.cmake`.
|
|
# However, `find_package(libpng CONFIG)` expects a file named `libpngConfig.cmake` to exist instead.
|
|
#
|
|
# By including `libpng.cmake` from this file, `find_package(libpng CONFIG)` will work.
|
|
get_filename_component(_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
|
|
include("${_DIR}/libpng16.cmake")
|