mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2024-11-21 11:31:07 +00:00
fix absolute path in png cmake module
This commit is contained in:
parent
1b5c2d3229
commit
4ca5c58bf3
1 changed files with 2 additions and 2 deletions
4
deps/png/lib/libpng/libpng16.cmake
vendored
4
deps/png/lib/libpng/libpng16.cmake
vendored
|
@ -4,7 +4,7 @@ if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.5)
|
|||
message(FATAL_ERROR "CMake >= 2.6.0 required")
|
||||
endif()
|
||||
cmake_policy(PUSH)
|
||||
cmake_policy(VERSION 2.6...3.17)
|
||||
cmake_policy(VERSION 2.6...3.19)
|
||||
#----------------------------------------------------------------
|
||||
# Generated CMake target import file.
|
||||
#----------------------------------------------------------------
|
||||
|
@ -53,7 +53,7 @@ endif()
|
|||
add_library(png_static STATIC IMPORTED)
|
||||
|
||||
set_target_properties(png_static PROPERTIES
|
||||
INTERFACE_LINK_LIBRARIES "/Volumes/ramdisk/zdoom-macos-deps/prefix/lib/libz.a"
|
||||
INTERFACE_LINK_LIBRARIES "ZLIB::ZLIB"
|
||||
)
|
||||
|
||||
if(CMAKE_VERSION VERSION_LESS 2.8.12)
|
||||
|
|
Loading…
Reference in a new issue