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/mnemonics | |
parent | cmake: refactor common code with libraries (diff) | |
download | monero-f53f04724c714a40c10e8c0afdca465054fabca8.tar.xz |
cmake: handle private vs. public headers
Diffstat (limited to 'src/mnemonics')
-rw-r--r-- | src/mnemonics/CMakeLists.txt | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/mnemonics/CMakeLists.txt b/src/mnemonics/CMakeLists.txt index 845856538..4f2c36f4e 100644 --- a/src/mnemonics/CMakeLists.txt +++ b/src/mnemonics/CMakeLists.txt @@ -29,7 +29,9 @@ set(mnemonics_sources electrum-words.cpp) -set(mnemonics_headers +set(mnemonics_headers) + +set(mnemonics_private_headers electrum-words.h english.h japanese.h @@ -39,9 +41,12 @@ set(mnemonics_headers singleton.h spanish.h) +bitmonero_private_headers(mnemonics + ${mnemonics_private_headers}) bitmonero_add_library(mnemonics ${mnemonics_sources} - ${mnemonics_headers}) + ${mnemonics_headers} + ${mnemonics_private_headers}) target_link_libraries(mnemonics PRIVATE ${Boost_SYSTEM_LIBRARY}) |