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:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user