CMake: Copy public headers to the build directory.
This commit is contained in:
parent
31458956a9
commit
5432e22b25
@ -10,6 +10,14 @@ if(ENABLE_LIBRESSL_INSTALL)
|
||||
DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/openssl")
|
||||
endif(ENABLE_LIBRESSL_INSTALL)
|
||||
|
||||
file(COPY .
|
||||
DESTINATION "${CMAKE_BINARY_DIR}/include"
|
||||
PATTERN "CMakeLists.txt" EXCLUDE
|
||||
PATTERN "compat" EXCLUDE
|
||||
PATTERN "pqueue.h" EXCLUDE
|
||||
PATTERN "Makefile*" EXCLUDE
|
||||
PATTERN "arch" EXCLUDE)
|
||||
|
||||
if(HOST_AARCH64)
|
||||
file(READ arch/aarch64/opensslconf.h OPENSSLCONF)
|
||||
elseif(HOST_ARM)
|
||||
|
Loading…
x
Reference in New Issue
Block a user