diff --git a/CMakeLists.txt b/CMakeLists.txt index ac966f8..ce6ade1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -173,7 +173,7 @@ if(NOT BUILD_HEADER_ONLY) if(INSTALL_PROJECT) install(FILES ${CMAKE_CURRENT_BINARY_DIR}/miniz.pc - DESTINATION ${CMAKE_INSTALL_DATADIR}/pkgconfig) + DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig) endif() endif()