Skip to content

Commit f3d96e5

Browse files
committed
fix: add missing header files during install
1 parent 7babbbb commit f3d96e5

7 files changed

Lines changed: 9 additions & 4 deletions

File tree

CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,11 @@ install(
5050
DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}"
5151
COMPONENT ncrypto_development
5252
)
53+
install(
54+
DIRECTORY include/ncrypto
55+
DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}"
56+
COMPONENT ncrypto_development
57+
)
5358

5459
install(
5560
TARGETS ncrypto

include/ncrypto.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1760,6 +1760,6 @@ class KEM final {
17601760

17611761
#endif // OPENSSL_VERSION_MAJOR >= 3
17621762

1763-
#include "version.h"
1763+
#include "ncrypto/version.h"
17641764

17651765
} // namespace ncrypto
File renamed without changes.

release-please-config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"release-type": "simple",
55
"extra-files": [
66
"CMakeLists.txt",
7-
"include/version.h"
7+
"include/ncrypto/version.h"
88
]
99
}
1010
}

src/aead.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#include "ncrypto.h"
44

55
#ifdef OPENSSL_IS_BORINGSSL
6-
#include "aead.h"
6+
#include "ncrypto/aead.h"
77

88
namespace ncrypto {
99

tests/basic.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#include <aead.h>
1+
#include <ncrypto/aead.h>
22
#include <ncrypto.h>
33

44
#include <gtest/gtest.h>

0 commit comments

Comments
 (0)