aboutsummaryrefslogtreecommitdiff
path: root/src/daemon
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2014-10-21 11:21:28 -0400
committerBen Boeckel <ben.boeckel@kitware.com>2014-10-23 16:42:34 -0400
commitc773f465ca7e691b94394d8c7c682c8eb78e5c25 (patch)
tree608ab12a156706ef1c876a33614f3ac6b400d6c3 /src/daemon
parentcmake: put each library into its own directory (diff)
downloadmonero-c773f465ca7e691b94394d8c7c682c8eb78e5c25.tar.xz
cmake: refactor common code with executables
Diffstat (limited to 'src/daemon')
-rw-r--r--src/daemon/CMakeLists.txt19
1 files changed, 1 insertions, 18 deletions
diff --git a/src/daemon/CMakeLists.txt b/src/daemon/CMakeLists.txt
index 6cb5f8625..fdf6d697c 100644
--- a/src/daemon/CMakeLists.txt
+++ b/src/daemon/CMakeLists.txt
@@ -48,12 +48,7 @@ set(daemon_headers
../p2p/p2p_protocol_defs.h
../p2p/stdafx.h)
-source_group(daemon
- FILES
- ${daemon_sources}
- ${daemon_headers})
-
-add_executable(daemon
+bitmonero_add_executable(daemon
${daemon_sources}
${daemon_headers})
target_link_libraries(daemon
@@ -74,16 +69,4 @@ add_dependencies(daemon
version)
set_property(TARGET daemon
PROPERTY
- FOLDER "prog")
-set_property(TARGET daemon
- PROPERTY
OUTPUT_NAME "bitmonerod")
-
-if (STATIC)
- set_property(TARGET daemon
- PROPERTY
- LINK_SEARCH_START_STATIC 1)
- set_property(TARGET daemon
- PROPERTY
- LINK_SEARCH_END_STATIC 1)
-endif ()