mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2024-12-22 06:17:48 +00:00
be7ce4110e
This reverts commit e96515433d
.
24 lines
617 B
Plaintext
24 lines
617 B
Plaintext
install(
|
|
DIRECTORY pqxx "${PROJECT_BINARY_DIR}/include/pqxx"
|
|
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
|
|
FILES_MATCHING
|
|
# For each X.hxx, install both X.hxx itself and plain X.
|
|
PATTERN *.hxx
|
|
# TODO: Is there any way to do this with CMake's globbing?
|
|
###MAKTEMPLATE:FOREACH include/pqxx/*.hxx
|
|
PATTERN ###BASENAME###
|
|
###MAKTEMPLATE:ENDFOREACH
|
|
PATTERN internal/*.hxx
|
|
PATTERN internal/gates/*.hxx
|
|
PATTERN config-public-compiler.h
|
|
PATTERN pqxx
|
|
PATTERN doc EXCLUDE
|
|
)
|
|
|
|
install(
|
|
DIRECTORY pqxx/doc/
|
|
DESTINATION ${CMAKE_INSTALL_DOCDIR}
|
|
FILES_MATCHING
|
|
PATTERN *.md
|
|
)
|