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/miner | |
parent | cmake: refactor common code with libraries (diff) | |
download | monero-f53f04724c714a40c10e8c0afdca465054fabca8.tar.xz |
cmake: handle private vs. public headers
Diffstat (limited to '')
-rw-r--r-- | src/miner/CMakeLists.txt | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/miner/CMakeLists.txt b/src/miner/CMakeLists.txt index 7f8669665..1c26e759e 100644 --- a/src/miner/CMakeLists.txt +++ b/src/miner/CMakeLists.txt @@ -29,14 +29,19 @@ set(simpleminer_sources simpleminer.cpp) -set(simpleminer_headers +set(simpleminer_headers) + +set(simpleminer_private_headers simpleminer.h simpleminer_protocol_defs.h target_helper.h) +bitmonero_private_headers(simpleminer + ${simpleminer_private_headers}) bitmonero_add_executable(simpleminer ${simpleminer_sources} - ${simpleminer_headers}) + ${simpleminer_headers} + ${simpleminer_private_headers}) target_link_libraries(simpleminer PRIVATE cryptonote_core |