Skip to content

Commit

Permalink
Add libpng:: namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
h3ndrk committed Sep 13, 2022
1 parent 3ec225d commit f6c89ec
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
# Revised by Alex Gaynor, 2020
# Revised by Owen Rudge, 2020
# Revised by Gleb Mazovetskiy, 2021
# Revised by Hendrik Sieck, 2021
# Revised by Christopher Sean Morrison, 2022

# This code is released under the libpng license.
Expand Down Expand Up @@ -1031,6 +1032,7 @@ endif()
# Create an export file that CMake users can include() to import our targets.
if(NOT SKIP_INSTALL_EXPORT AND NOT SKIP_INSTALL_ALL)
install(EXPORT libpng
NAMESPACE "libpng::"
DESTINATION lib/libpng
FILE lib${PNG_LIB_NAME}.cmake)
endif()
Expand Down

0 comments on commit f6c89ec

Please sign in to comment.