diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2014-10-21 11:24:14 -0400 |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2014-10-23 16:42:34 -0400 |
commit | 55ca7d3b34762d9184090d659189959261bcb9a1 (patch) | |
tree | bb43a29d200f1414e46d6a8e07c8cf12069b6067 /src/crypto | |
parent | cmake: refactor common code with executables (diff) | |
download | monero-55ca7d3b34762d9184090d659189959261bcb9a1.tar.xz |
cmake: refactor common code with libraries
Diffstat (limited to '')
-rw-r--r-- | src/crypto/CMakeLists.txt | 10 | ||||
-rw-r--r-- | src/cryptonote_core/CMakeLists.txt | 10 |
2 files changed, 2 insertions, 18 deletions
diff --git a/src/crypto/CMakeLists.txt b/src/crypto/CMakeLists.txt index d21551d14..d13b9c8bc 100644 --- a/src/crypto/CMakeLists.txt +++ b/src/crypto/CMakeLists.txt @@ -66,14 +66,6 @@ set(crypto_headers skein.h skein_port.h) -source_group(crypto - FILES - ${crypto_sources} - ${crypto_headers}) - -add_library(crypto +bitmonero_add_library(crypto ${crypto_sources} ${crypto_headers}) -set_property(TARGET crypto - PROPERTY - FOLDER "libs") diff --git a/src/cryptonote_core/CMakeLists.txt b/src/cryptonote_core/CMakeLists.txt index dcca6e543..fd84a75ca 100644 --- a/src/cryptonote_core/CMakeLists.txt +++ b/src/cryptonote_core/CMakeLists.txt @@ -58,12 +58,7 @@ set(cryptonote_core_headers tx_pool.h verification_context.h) -source_group(cryptonote_core - FILES - ${cryptonote_core_sources} - ${cryptonote_core_headers}) - -add_library(cryptonote_core +bitmonero_add_library(cryptonote_core ${cryptonote_core_sources} ${cryptonote_core_headers}) target_link_libraries(cryptonote_core @@ -78,6 +73,3 @@ target_link_libraries(cryptonote_core ${Boost_SYSTEM_LIBRARY} ${Boost_THREAD_LIBRARY} ${EXTRA_LIBRARIES}) -set_property(TARGET cryptonote_core - PROPERTY - FOLDER "libs") |