1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-28 07:03:00 +08:00

fix(cmake): generate lvgl.pc in CMAKE_CURRENT_BINARY_DIR (#7127)

This commit is contained in:
Niklas Fiekas 2024-10-29 12:47:37 +01:00 committed by GitHub
parent ce97ba869b
commit 63a7258111
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -133,8 +133,8 @@ if(NOT LV_CONF_BUILD_DISABLE_DEMOS)
endif() endif()
configure_file("${LVGL_ROOT_DIR}/lvgl.pc.in" ${CMAKE_BINARY_DIR}/lvgl.pc @ONLY) configure_file("${LVGL_ROOT_DIR}/lvgl.pc.in" ${CMAKE_CURRENT_BINARY_DIR}/lvgl.pc @ONLY)
configure_file("${LVGL_ROOT_DIR}/lv_version.h.in" ${CMAKE_BINARY_DIR}/lv_version.h @ONLY) configure_file("${LVGL_ROOT_DIR}/lv_version.h.in" ${CMAKE_CURRENT_BINARY_DIR}/lv_version.h @ONLY)
install( install(
FILES "${CMAKE_CURRENT_BINARY_DIR}/lvgl.pc" FILES "${CMAKE_CURRENT_BINARY_DIR}/lvgl.pc"