mirror of https://git.tukaani.org/xz.git
parent
a95a9601a1
commit
258bae30a2
|
@ -1397,6 +1397,7 @@ endif()
|
|||
file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/liblzma-config.cmake"
|
||||
"${LZMA_CONFIG_CONTENTS}")
|
||||
|
||||
|
||||
# Create liblzma.pc. If using CMake >= 3.20 and CMAKE_INSTALL_<dir> paths
|
||||
# are relative to CMAKE_INSTALL_PREFIX, the .pc file will be relocatable
|
||||
# (that is, all paths will be relative to ${prefix}). Otherwise absolute
|
||||
|
@ -1421,6 +1422,7 @@ endif()
|
|||
|
||||
configure_file(src/liblzma/liblzma.pc.in liblzma.pc @ONLY)
|
||||
|
||||
|
||||
# Install the library binary. The INCLUDES specifies the include path that
|
||||
# is exported for other projects to use but it doesn't install any files.
|
||||
install(TARGETS liblzma EXPORT liblzmaTargets
|
||||
|
|
Loading…
Reference in New Issue