diff --git a/.gitignore b/.gitignore index 94f66b35..ddd45636 100644 --- a/.gitignore +++ b/.gitignore @@ -23,7 +23,7 @@ doc/html/* /Makefile /install_manifest* /libvmime.a -/libvmime.pc +/vmime.pc /vmime/config.hpp /COPYING.txt /build/ diff --git a/CMakeLists.txt b/CMakeLists.txt index 40f15c74..2f246d74 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -825,8 +825,8 @@ ENDIF() CONFIGURE_FILE(cmake/config.hpp.cmake ${CMAKE_SOURCE_DIR}/vmime/config.hpp) # PkgConfig post-configuration -CONFIGURE_FILE(${CMAKE_SOURCE_DIR}/libvmime.pc.in ${CMAKE_BINARY_DIR}/libvmime.pc @ONLY) -INSTALL(FILES ${CMAKE_BINARY_DIR}/libvmime.pc DESTINATION "${VMIME_INSTALL_LIBDIR}/pkgconfig" COMPONENT headers) +CONFIGURE_FILE(${CMAKE_SOURCE_DIR}/vmime.pc.in ${CMAKE_BINARY_DIR}/vmime.pc @ONLY) +INSTALL(FILES ${CMAKE_BINARY_DIR}/vmime.pc DESTINATION "${VMIME_INSTALL_LIBDIR}/pkgconfig" COMPONENT headers) INCLUDE(CPack) diff --git a/libvmime.pc.in b/vmime.pc.in similarity index 100% rename from libvmime.pc.in rename to vmime.pc.in