mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
cmake: support 2.8.7
Older versions of CMake support LINK_{PUBLIC,PRIVATE} while newer versions prefer PUBLIC and PRIVATE instead, but still support the LINK_ prefix.
This commit is contained in:
parent
464c2805e5
commit
7d708e4223
22 changed files with 28 additions and 28 deletions
|
@ -75,7 +75,7 @@ add_executable(hash-target-tests
|
|||
${hash_targets_sources}
|
||||
${hash_targets_headers})
|
||||
target_link_libraries(hash-target-tests
|
||||
PRIVATE
|
||||
LINK_PRIVATE
|
||||
cryptonote_core)
|
||||
set_property(TARGET hash-target-tests
|
||||
PROPERTY
|
||||
|
|
|
@ -36,7 +36,7 @@ add_executable(core_proxy
|
|||
${core_proxy_sources}
|
||||
${core_proxy_headers})
|
||||
target_link_libraries(core_proxy
|
||||
PRIVATE
|
||||
LINK_PRIVATE
|
||||
cryptonote_core
|
||||
${UPNP_LIBRARIES}
|
||||
${Boost_CHRONO_LIBRARY}
|
||||
|
|
|
@ -58,7 +58,7 @@ add_executable(coretests
|
|||
${core_tests_sources}
|
||||
${core_tests_headers})
|
||||
target_link_libraries(coretests
|
||||
PRIVATE
|
||||
LINK_PRIVATE
|
||||
cryptonote_core
|
||||
${Boost_FILESYSTEM_LIBRARY}
|
||||
${Boost_SYSTEM_LIBRARY}
|
||||
|
|
|
@ -35,7 +35,7 @@ add_executable(transfers
|
|||
${transfers_sources}
|
||||
${transfers_headers})
|
||||
target_link_libraries(transfers
|
||||
PRIVATE
|
||||
LINK_PRIVATE
|
||||
useragent
|
||||
rpc
|
||||
cryptonote_core
|
||||
|
|
|
@ -35,7 +35,7 @@ add_executable(difficulty-tests
|
|||
${difficulty_sources}
|
||||
${difficulty_headers})
|
||||
target_link_libraries(difficulty-tests
|
||||
PRIVATE
|
||||
LINK_PRIVATE
|
||||
cryptonote_core)
|
||||
set_property(TARGET difficulty-tests
|
||||
PROPERTY
|
||||
|
|
|
@ -39,7 +39,7 @@ add_executable(functional_tests
|
|||
${functional_tests_sources}
|
||||
${functional_tests_headers})
|
||||
target_link_libraries(functional_tests
|
||||
PRIVATE
|
||||
LINK_PRIVATE
|
||||
cryptonote_core
|
||||
wallet
|
||||
common
|
||||
|
|
|
@ -35,7 +35,7 @@ add_executable(hash-tests
|
|||
${hash_sources}
|
||||
${hash_headers})
|
||||
target_link_libraries(hash-tests
|
||||
PRIVATE
|
||||
LINK_PRIVATE
|
||||
crypto)
|
||||
set_property(TARGET hash-tests
|
||||
PROPERTY
|
||||
|
|
|
@ -36,7 +36,7 @@ add_executable(net_load_tests_clt
|
|||
${clt_sources}
|
||||
${clt_headers})
|
||||
target_link_libraries(net_load_tests_clt
|
||||
PRIVATE
|
||||
LINK_PRIVATE
|
||||
${GTEST_MAIN_LIBRARIES}
|
||||
${Boost_CHRONO_LIBRARY}
|
||||
${Boost_DATE_TIME_LIBRARY}
|
||||
|
@ -55,7 +55,7 @@ add_executable(net_load_tests_srv
|
|||
${srv_sources}
|
||||
${srv_headers})
|
||||
target_link_libraries(net_load_tests_srv
|
||||
PRIVATE
|
||||
LINK_PRIVATE
|
||||
${GTEST_MAIN_LIBRARIES}
|
||||
${Boost_CHRONO_LIBRARY}
|
||||
${Boost_DATE_TIME_LIBRARY}
|
||||
|
|
|
@ -48,7 +48,7 @@ add_executable(performance_tests
|
|||
${performance_tests_sources}
|
||||
${performance_tests_headers})
|
||||
target_link_libraries(performance_tests
|
||||
PRIVATE
|
||||
LINK_PRIVATE
|
||||
cryptonote_core
|
||||
common
|
||||
crypto
|
||||
|
|
|
@ -54,7 +54,7 @@ add_executable(unit_tests
|
|||
${unit_tests_sources}
|
||||
${unit_tests_headers})
|
||||
target_link_libraries(unit_tests
|
||||
PRIVATE
|
||||
LINK_PRIVATE
|
||||
cryptonote_core
|
||||
rpc
|
||||
wallet
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue