aboutsummaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2014-10-21 11:24:14 -0400
committerBen Boeckel <ben.boeckel@kitware.com>2014-10-23 16:42:34 -0400
commit55ca7d3b34762d9184090d659189959261bcb9a1 (patch)
treebb43a29d200f1414e46d6a8e07c8cf12069b6067 /src/common
parentcmake: refactor common code with executables (diff)
downloadmonero-55ca7d3b34762d9184090d659189959261bcb9a1.tar.xz
cmake: refactor common code with libraries
Diffstat (limited to 'src/common')
-rw-r--r--src/common/CMakeLists.txt10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt
index 347bee05b..47456afbd 100644
--- a/src/common/CMakeLists.txt
+++ b/src/common/CMakeLists.txt
@@ -43,12 +43,7 @@ set(common_headers
util.h
varint.h)
-source_group(common
- FILES
- ${common_sources}
- ${common_headers})
-
-add_library(common
+bitmonero_add_library(common
${common_sources}
${common_headers})
target_link_libraries(common
@@ -59,6 +54,3 @@ target_link_libraries(common
${Boost_FILESYSTEM_LIBRARY}
${Boost_SYSTEM_LIBRARY}
${EXTRA_LIBRARIES})
-set_property(TARGET common
- PROPERTY
- FOLDER "libs")