Commit c7058824 authored by Marc Modat's avatar Marc Modat

(1) The png library is forced to be alwasys static to avoid conflict with the system library

parent 86a3d73e
......@@ -54,9 +54,6 @@ if(BUILD_INTERNAL_PNG OR BUILD_ALL_DEP)
)
# Build the library
add_library(png STATIC ${png_SRCS} ${png_HDRS})
set_target_properties(png PROPERTIES
VERSION "${PNGLIB_VERSION}"
SOVERSION "${PNGLIB_MAJOR}")
target_link_libraries(png z)
install(TARGETS png
LIBRARY DESTINATION lib COMPONENT Development
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment