mirror of
https://github.com/monero-project/monero.git
synced 2025-01-09 12:29:26 -05:00
Use a single target_link_libraries call
This commit is contained in:
parent
1a44ceb905
commit
23be5f6c28
@ -42,7 +42,9 @@ monero_add_library_with_deps(
|
|||||||
${fcmp_headers})
|
${fcmp_headers})
|
||||||
|
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
target_link_libraries(fcmp ws2_32 ntdll userenv)
|
set(EXTRA_RUST_LIBRARIES ws2_32 ntdll userenv)
|
||||||
|
else()
|
||||||
|
set(EXTRA_RUST_LIBRARIES )
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
target_link_libraries(fcmp
|
target_link_libraries(fcmp
|
||||||
@ -53,4 +55,5 @@ target_link_libraries(fcmp
|
|||||||
ringct
|
ringct
|
||||||
PRIVATE
|
PRIVATE
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/fcmp_rust/libfcmp_rust.a
|
${CMAKE_CURRENT_BINARY_DIR}/fcmp_rust/libfcmp_rust.a
|
||||||
${EXTRA_LIBRARIES})
|
${EXTRA_LIBRARIES}
|
||||||
|
${EXTRA_RUST_LIBRARIES})
|
||||||
|
Loading…
Reference in New Issue
Block a user