diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2014-10-21 11:21:28 -0400 |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2014-10-23 16:42:34 -0400 |
commit | c773f465ca7e691b94394d8c7c682c8eb78e5c25 (patch) | |
tree | 608ab12a156706ef1c876a33614f3ac6b400d6c3 /src/miner | |
parent | cmake: put each library into its own directory (diff) | |
download | monero-c773f465ca7e691b94394d8c7c682c8eb78e5c25.tar.xz |
cmake: refactor common code with executables
Diffstat (limited to 'src/miner')
-rw-r--r-- | src/miner/CMakeLists.txt | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/src/miner/CMakeLists.txt b/src/miner/CMakeLists.txt index 551d9e70a..7f8669665 100644 --- a/src/miner/CMakeLists.txt +++ b/src/miner/CMakeLists.txt @@ -34,12 +34,7 @@ set(simpleminer_headers simpleminer_protocol_defs.h target_helper.h) -source_group(simpleminer - FILES - ${simpleminer_sources} - ${simpleminer_headers}) - -add_executable(simpleminer +bitmonero_add_executable(simpleminer ${simpleminer_sources} ${simpleminer_headers}) target_link_libraries(simpleminer @@ -52,15 +47,3 @@ target_link_libraries(simpleminer ${Boost_SYSTEM_LIBRARY} ${Boost_THREAD_LIBRARY} ${EXTRA_LIBRARIES}) -set_property(TARGET simpleminer - PROPERTY - FOLDER "prog") - -if (STATIC) - set_property(TARGET simpleminer - PROPERTY - LINK_SEARCH_START_STATIC 1) - set_property(TARGET simpleminer - PROPERTY - LINK_SEARCH_END_STATIC 1) -endif () |