mirror of
https://github.com/lvgl/lvgl.git
synced 2024-11-23 09:43:41 +08:00
fix(cmake): fix install (#6787)
This commit is contained in:
parent
d4715a9c63
commit
559618d9d2
@ -99,6 +99,8 @@ if("${INC_INSTALL_DIR}" STREQUAL "")
|
||||
set(INC_INSTALL_DIR "include/lvgl")
|
||||
endif()
|
||||
|
||||
set(CMAKE_INSTALL_PREFIX .)
|
||||
|
||||
#Install headers
|
||||
install(
|
||||
DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/src"
|
||||
@ -131,8 +133,8 @@ if(NOT LV_CONF_BUILD_DISABLE_DEMOS)
|
||||
endif()
|
||||
|
||||
|
||||
configure_file("${LVGL_ROOT_DIR}/lvgl.pc.in" lvgl.pc @ONLY)
|
||||
configure_file("${LVGL_ROOT_DIR}/lv_version.h.in" lv_version.h @ONLY)
|
||||
configure_file("${LVGL_ROOT_DIR}/lvgl.pc.in" ${CMAKE_BINARY_DIR}/lvgl.pc @ONLY)
|
||||
configure_file("${LVGL_ROOT_DIR}/lv_version.h.in" ${CMAKE_BINARY_DIR}/lv_version.h @ONLY)
|
||||
|
||||
install(
|
||||
FILES "${CMAKE_CURRENT_BINARY_DIR}/lvgl.pc"
|
||||
|
Loading…
Reference in New Issue
Block a user