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/cryptonote_core | |
parent | cmake: refactor common code with libraries (diff) | |
download | monero-f53f04724c714a40c10e8c0afdca465054fabca8.tar.xz |
cmake: handle private vs. public headers
Diffstat (limited to 'src/cryptonote_core')
-rw-r--r-- | src/cryptonote_core/CMakeLists.txt | 9 |
1 files changed, 7 insertions, 2 deletions
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 |