aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/CMakeLists.txt
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/rpc/CMakeLists.txt
parentcmake: refactor common code with libraries (diff)
downloadmonero-f53f04724c714a40c10e8c0afdca465054fabca8.tar.xz
cmake: handle private vs. public headers
Diffstat (limited to '')
-rw-r--r--src/rpc/CMakeLists.txt9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/rpc/CMakeLists.txt b/src/rpc/CMakeLists.txt
index 31efe7d4c..ba71c8e63 100644
--- a/src/rpc/CMakeLists.txt
+++ b/src/rpc/CMakeLists.txt
@@ -29,14 +29,19 @@
set(rpc_sources
core_rpc_server.cpp)
-set(rpc_headers
+set(rpc_headers)
+
+set(rpc_private_headers
core_rpc_server.h
core_rpc_server_commands_defs.h
core_rpc_server_error_codes.h)
+bitmonero_private_headers(rpc
+ ${rpc_private_headers})
bitmonero_add_library(rpc
${rpc_sources}
- ${rpc_headers})
+ ${rpc_headers}
+ ${rpc_private_headers})
target_link_libraries(rpc
PRIVATE
cryptonote_core