aboutsummaryrefslogtreecommitdiff
path: root/src/mnemonics
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/mnemonics
parentcmake: refactor common code with libraries (diff)
downloadmonero-f53f04724c714a40c10e8c0afdca465054fabca8.tar.xz
cmake: handle private vs. public headers
Diffstat (limited to 'src/mnemonics')
-rw-r--r--src/mnemonics/CMakeLists.txt9
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})