aboutsummaryrefslogtreecommitdiff
path: root/src/daemon/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/daemon/CMakeLists.txt
parentcmake: refactor common code with libraries (diff)
downloadmonero-f53f04724c714a40c10e8c0afdca465054fabca8.tar.xz
cmake: handle private vs. public headers
Diffstat (limited to 'src/daemon/CMakeLists.txt')
-rw-r--r--src/daemon/CMakeLists.txt9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/daemon/CMakeLists.txt b/src/daemon/CMakeLists.txt
index fdf6d697c..3fbac07ed 100644
--- a/src/daemon/CMakeLists.txt
+++ b/src/daemon/CMakeLists.txt
@@ -29,7 +29,9 @@
set(daemon_sources
daemon.cpp)
-set(daemon_headers
+set(daemon_headers)
+
+set(daemon_private_headers
daemon_commands_handler.h
# cryptonote_protocol
@@ -48,9 +50,12 @@ set(daemon_headers
../p2p/p2p_protocol_defs.h
../p2p/stdafx.h)
+bitmonero_private_headers(daemon
+ ${daemon_private_headers})
bitmonero_add_executable(daemon
${daemon_sources}
- ${daemon_headers})
+ ${daemon_headers}
+ ${daemon_private_headers})
target_link_libraries(daemon
PRIVATE
rpc