aboutsummaryrefslogtreecommitdiff
path: root/src/crypto
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2014-10-21 12:38:00 -0400
committerBen Boeckel <ben.boeckel@kitware.com>2014-10-23 16:42:34 -0400
commitf53f04724c714a40c10e8c0afdca465054fabca8 (patch)
tree954045d002843d5a7767b87be199adc9be2f31b6 /src/crypto
parentcmake: refactor common code with libraries (diff)
downloadmonero-f53f04724c714a40c10e8c0afdca465054fabca8.tar.xz
cmake: handle private vs. public headers
Diffstat (limited to 'src/crypto')
-rw-r--r--src/crypto/CMakeLists.txt9
1 files changed, 7 insertions, 2 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})