diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2014-10-21 12:38:00 -0400 |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2014-10-23 16:42:34 -0400 |
commit | f53f04724c714a40c10e8c0afdca465054fabca8 (patch) | |
tree | 954045d002843d5a7767b87be199adc9be2f31b6 /src/crypto/CMakeLists.txt | |
parent | cmake: refactor common code with libraries (diff) | |
download | monero-f53f04724c714a40c10e8c0afdca465054fabca8.tar.xz |
cmake: handle private vs. public headers
Diffstat (limited to 'src/crypto/CMakeLists.txt')
-rw-r--r-- | src/crypto/CMakeLists.txt | 9 |
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}) |