aboutsummaryrefslogtreecommitdiff
path: root/src/crypto
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/crypto/CMakeLists.txt9
-rw-r--r--src/cryptonote_core/CMakeLists.txt9
2 files changed, 14 insertions, 4 deletions
diff --git a/src/crypto/CMakeLists.txt b/src/crypto/CMakeLists.txt
index d13b9c8bc..4afcab9c8 100644
--- a/src/crypto/CMakeLists.txt
+++ b/src/crypto/CMakeLists.txt
@@ -47,7 +47,9 @@ set(crypto_sources
slow-hash.c
tree-hash.c)
-set(crypto_headers
+set(crypto_headers)
+
+set(crypto_private_headers
blake256.h
chacha8.h
crypto-ops.h
@@ -66,6 +68,9 @@ set(crypto_headers
skein.h
skein_port.h)
+bitmonero_private_headers(crypto
+ ${crypto_private_headers})
bitmonero_add_library(crypto
${crypto_sources}
- ${crypto_headers})
+ ${crypto_headers}
+ ${crypto_private_headers})
diff --git a/src/cryptonote_core/CMakeLists.txt b/src/cryptonote_core/CMakeLists.txt
index fd84a75ca..c18b01b5d 100644
--- a/src/cryptonote_core/CMakeLists.txt
+++ b/src/cryptonote_core/CMakeLists.txt
@@ -38,7 +38,9 @@ set(cryptonote_core_sources
miner.cpp
tx_pool.cpp)
-set(cryptonote_core_headers
+set(cryptonote_core_headers)
+
+set(cryptonote_core_private_headers
account.h
account_boost_serialization.h
blockchain_storage.h
@@ -58,9 +60,12 @@ set(cryptonote_core_headers
tx_pool.h
verification_context.h)
+bitmonero_private_headers(cryptonote_core
+ ${crypto_private_headers})
bitmonero_add_library(cryptonote_core
${cryptonote_core_sources}
- ${cryptonote_core_headers})
+ ${cryptonote_core_headers}
+ ${cryptonote_core_private_headers})
target_link_libraries(cryptonote_core
PUBLIC
common