mirror of
https://github.com/tfussell/xlnt.git
synced 2024-03-22 13:11:17 +08:00
ecf402972b
Usage: find_package(Xlnt) target_link_libraries(foo PRIVATE xlnt::xlnt)
14 lines
304 B
CMake
14 lines
304 B
CMake
set(XLNT_VERSION "@xlnt_VERSION@")
|
|
|
|
@PACKAGE_INIT@
|
|
|
|
get_filename_component(XLNT_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
|
|
|
|
set_and_check(XLNT_INCLUDE_DIR "@XLNT_INCLUDE_INSTALL_DIR@")
|
|
|
|
check_required_components(xlnt)
|
|
|
|
if(NOT TARGET xlnt::xlnt)
|
|
include("${XLNT_CMAKE_DIR}/XlntTargets.cmake")
|
|
endif()
|