aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/CMakeLists.txt2
-rw-r--r--src/common/CMakeLists.txt2
-rw-r--r--src/connectivity_tool/CMakeLists.txt2
-rw-r--r--src/cryptonote_core/CMakeLists.txt4
-rw-r--r--src/daemon/CMakeLists.txt2
-rw-r--r--src/miner/CMakeLists.txt2
-rw-r--r--src/mnemonics/CMakeLists.txt2
-rw-r--r--src/rpc/CMakeLists.txt2
-rw-r--r--src/simplewallet/CMakeLists.txt2
-rw-r--r--src/wallet/CMakeLists.txt4
10 files changed, 12 insertions, 12 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index dfdf90b97..8cd39a544 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -55,7 +55,7 @@ function (bitmonero_add_executable name)
add_executable("${name}"
${ARGN})
target_link_libraries("${name}"
- PRIVATE
+ LINK_PRIVATE
${EXTRA_LIBRARIES})
set_property(TARGET "${name}"
PROPERTY
diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt
index fcc30e192..739c0adee 100644
--- a/src/common/CMakeLists.txt
+++ b/src/common/CMakeLists.txt
@@ -52,7 +52,7 @@ bitmonero_add_library(common
${common_headers}
${common_private_headers})
target_link_libraries(common
- PRIVATE
+ LINK_PRIVATE
crypto
${UNBOUND_LIBRARY}
${Boost_DATE_TIME_LIBRARY}
diff --git a/src/connectivity_tool/CMakeLists.txt b/src/connectivity_tool/CMakeLists.txt
index b3a495af9..b0178c70a 100644
--- a/src/connectivity_tool/CMakeLists.txt
+++ b/src/connectivity_tool/CMakeLists.txt
@@ -35,7 +35,7 @@ bitmonero_add_executable(connectivity_tool
${connectivity_tool_sources}
${connectivity_tool_private_headers})
target_link_libraries(connectivity_tool
- PRIVATE
+ LINK_PRIVATE
cryptonote_core
crypto
common
diff --git a/src/cryptonote_core/CMakeLists.txt b/src/cryptonote_core/CMakeLists.txt
index c18b01b5d..3c2e097c1 100644
--- a/src/cryptonote_core/CMakeLists.txt
+++ b/src/cryptonote_core/CMakeLists.txt
@@ -67,13 +67,13 @@ bitmonero_add_library(cryptonote_core
${cryptonote_core_headers}
${cryptonote_core_private_headers})
target_link_libraries(cryptonote_core
- PUBLIC
+ LINK_PUBLIC
common
crypto
${Boost_DATE_TIME_LIBRARY}
${Boost_PROGRAM_OPTIONS_LIBRARY}
${Boost_SERIALIZATION_LIBRARY}
- PRIVATE
+ LINK_PRIVATE
${Boost_FILESYSTEM_LIBRARY}
${Boost_SYSTEM_LIBRARY}
${Boost_THREAD_LIBRARY}
diff --git a/src/daemon/CMakeLists.txt b/src/daemon/CMakeLists.txt
index 3fbac07ed..0c9fca880 100644
--- a/src/daemon/CMakeLists.txt
+++ b/src/daemon/CMakeLists.txt
@@ -57,7 +57,7 @@ bitmonero_add_executable(daemon
${daemon_headers}
${daemon_private_headers})
target_link_libraries(daemon
- PRIVATE
+ LINK_PRIVATE
rpc
cryptonote_core
crypto
diff --git a/src/miner/CMakeLists.txt b/src/miner/CMakeLists.txt
index 1c26e759e..3829e5528 100644
--- a/src/miner/CMakeLists.txt
+++ b/src/miner/CMakeLists.txt
@@ -43,7 +43,7 @@ bitmonero_add_executable(simpleminer
${simpleminer_headers}
${simpleminer_private_headers})
target_link_libraries(simpleminer
- PRIVATE
+ LINK_PRIVATE
cryptonote_core
common
${Boost_FILESYSTEM_LIBRARY}
diff --git a/src/mnemonics/CMakeLists.txt b/src/mnemonics/CMakeLists.txt
index 4f2c36f4e..66ef4f3f1 100644
--- a/src/mnemonics/CMakeLists.txt
+++ b/src/mnemonics/CMakeLists.txt
@@ -48,5 +48,5 @@ bitmonero_add_library(mnemonics
${mnemonics_headers}
${mnemonics_private_headers})
target_link_libraries(mnemonics
- PRIVATE
+ LINK_PRIVATE
${Boost_SYSTEM_LIBRARY})
diff --git a/src/rpc/CMakeLists.txt b/src/rpc/CMakeLists.txt
index ba71c8e63..5417a0ec1 100644
--- a/src/rpc/CMakeLists.txt
+++ b/src/rpc/CMakeLists.txt
@@ -43,7 +43,7 @@ bitmonero_add_library(rpc
${rpc_headers}
${rpc_private_headers})
target_link_libraries(rpc
- PRIVATE
+ LINK_PRIVATE
cryptonote_core
${Boost_CHRONO_LIBRARY}
${Boost_REGEX_LIBRARY}
diff --git a/src/simplewallet/CMakeLists.txt b/src/simplewallet/CMakeLists.txt
index 682e660da..304063b7a 100644
--- a/src/simplewallet/CMakeLists.txt
+++ b/src/simplewallet/CMakeLists.txt
@@ -43,7 +43,7 @@ bitmonero_add_executable(simplewallet
${simplewallet_headers}
${simplewallet_private_headers})
target_link_libraries(simplewallet
- PRIVATE
+ LINK_PRIVATE
wallet
rpc
cryptonote_core
diff --git a/src/wallet/CMakeLists.txt b/src/wallet/CMakeLists.txt
index e32d86a59..af3ec0fb8 100644
--- a/src/wallet/CMakeLists.txt
+++ b/src/wallet/CMakeLists.txt
@@ -46,10 +46,10 @@ bitmonero_add_library(wallet
${wallet_headers}
${wallet_private_headers})
target_link_libraries(wallet
- PUBLIC
+ LINK_PUBLIC
cryptonote_core
mnemonics
- PRIVATE
+ LINK_PRIVATE
${Boost_SERIALIZATION_LIBRARY}
${Boost_SYSTEM_LIBRARY}
${Boost_THREAD_LIBRARY}