mirror of
https://github.com/mhx/dwarfs.git
synced 2025-09-10 13:04:15 -04:00
build: fix installation from tarball
This commit is contained in:
parent
f5c1c26cc0
commit
e49bc6bc05
@ -1484,10 +1484,15 @@ if(NOT STATIC_BUILD_DO_NOT_USE)
|
|||||||
PATTERN include/dwarfs/*/internal EXCLUDE
|
PATTERN include/dwarfs/*/internal EXCLUDE
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if(DWARFS_GIT_BUILD)
|
||||||
install(
|
install(
|
||||||
FILES
|
FILES ${CMAKE_CURRENT_BINARY_DIR}/include/dwarfs/version.h
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/include/dwarfs/config.h
|
DESTINATION include/dwarfs
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/include/dwarfs/version.h
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
install(
|
||||||
|
FILES ${CMAKE_CURRENT_BINARY_DIR}/include/dwarfs/config.h
|
||||||
DESTINATION include/dwarfs
|
DESTINATION include/dwarfs
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user