mirror of
https://github.com/tfussell/xlnt.git
synced 2024-03-22 13:11:17 +08:00
commit
3c7122a78c
|
@ -256,6 +256,9 @@ install(EXPORT XlntTargets
|
|||
include(CMakePackageConfigHelpers)
|
||||
|
||||
set(XLNT_INCLUDE_INSTALL_DIR ${XLNT_INC_DEST_DIR})
|
||||
if(CMAKE_INSTALL_PREFIX)
|
||||
set(XLNT_INCLUDE_INSTALL_DIR ${CMAKE_INSTALL_PREFIX}/${XLNT_INCLUDE_INSTALL_DIR})
|
||||
endif()
|
||||
|
||||
#See https://cmake.org/cmake/help/latest/module/CMakePackageConfigHelpers.html
|
||||
configure_package_config_file(../cmake/XlntConfig.cmake.in
|
||||
|
|
Loading…
Reference in New Issue
Block a user