mastodonpp/pkg-config/CMakeLists.txt
tastytea 8c2d4c8b97
All checks were successful
continuous-integration/drone/push Build is passing
Generate and install mastodonpp.pc.
2020-01-03 16:27:59 +01:00

8 lines
237 B
CMake

include(GNUInstallDirs)
configure_file("${PROJECT_NAME}.pc.in"
"${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}.pc" @ONLY)
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}.pc"
DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig")