diff options
| author | Pierre Wendling <pierre.wendling.4@gmail.com> | 2023-08-06 15:04:02 -0400 |
|---|---|---|
| committer | Pierre Wendling <pierre.wendling.4@gmail.com> | 2023-08-19 12:16:15 -0400 |
| commit | 5432e22b25026fb50b00ab5dcf894e18daa8bcb6 (patch) | |
| tree | d199a258f79f8c22bffeb21b0511eeb37e71e51d /include | |
| parent | 31458956a964b74f296279a9a7b2e97eed2090a4 (diff) | |
| download | portable-5432e22b25026fb50b00ab5dcf894e18daa8bcb6.tar.gz portable-5432e22b25026fb50b00ab5dcf894e18daa8bcb6.tar.bz2 portable-5432e22b25026fb50b00ab5dcf894e18daa8bcb6.zip | |
CMake: Copy public headers to the build directory.
Diffstat (limited to 'include')
| -rw-r--r-- | include/CMakeLists.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/CMakeLists.txt b/include/CMakeLists.txt index ca81ee8..9d015cd 100644 --- a/include/CMakeLists.txt +++ b/include/CMakeLists.txt | |||
| @@ -10,6 +10,14 @@ if(ENABLE_LIBRESSL_INSTALL) | |||
| 10 | DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/openssl") | 10 | DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/openssl") |
| 11 | endif(ENABLE_LIBRESSL_INSTALL) | 11 | endif(ENABLE_LIBRESSL_INSTALL) |
| 12 | 12 | ||
| 13 | file(COPY . | ||
| 14 | DESTINATION "${CMAKE_BINARY_DIR}/include" | ||
| 15 | PATTERN "CMakeLists.txt" EXCLUDE | ||
| 16 | PATTERN "compat" EXCLUDE | ||
| 17 | PATTERN "pqueue.h" EXCLUDE | ||
| 18 | PATTERN "Makefile*" EXCLUDE | ||
| 19 | PATTERN "arch" EXCLUDE) | ||
| 20 | |||
| 13 | if(HOST_AARCH64) | 21 | if(HOST_AARCH64) |
| 14 | file(READ arch/aarch64/opensslconf.h OPENSSLCONF) | 22 | file(READ arch/aarch64/opensslconf.h OPENSSLCONF) |
| 15 | elseif(HOST_ARM) | 23 | elseif(HOST_ARM) |
