mirror of
https://github.com/monero-project/monero.git
synced 2024-12-25 04:59:43 +00:00
Merge pull request #4847
6d3311ac
libwallet_api_tests: add missing dependency on Boost Locale and ICU (stoffu)f0459abb
cmake: move Boost_LOCALE_LIBRARY out of ICU_LIBRARIES (stoffu)
This commit is contained in:
commit
2312aacf18
3 changed files with 5 additions and 2 deletions
|
@ -898,9 +898,9 @@ if(MINGW)
|
||||||
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -Wa,-mbig-obj")
|
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -Wa,-mbig-obj")
|
||||||
set(EXTRA_LIBRARIES mswsock;ws2_32;iphlpapi;crypt32;bcrypt)
|
set(EXTRA_LIBRARIES mswsock;ws2_32;iphlpapi;crypt32;bcrypt)
|
||||||
if(DEPENDS)
|
if(DEPENDS)
|
||||||
set(ICU_LIBRARIES ${Boost_LOCALE_LIBRARY} sicuio sicuin sicuuc sicudt sicutu iconv)
|
set(ICU_LIBRARIES sicuio sicuin sicuuc sicudt sicutu iconv)
|
||||||
else()
|
else()
|
||||||
set(ICU_LIBRARIES ${Boost_LOCALE_LIBRARY} icuio icuin icuuc icudt icutu iconv)
|
set(ICU_LIBRARIES icuio icuin icuuc icudt icutu iconv)
|
||||||
endif()
|
endif()
|
||||||
elseif(APPLE OR OPENBSD OR ANDROID)
|
elseif(APPLE OR OPENBSD OR ANDROID)
|
||||||
set(EXTRA_LIBRARIES "")
|
set(EXTRA_LIBRARIES "")
|
||||||
|
|
|
@ -53,6 +53,7 @@ target_link_libraries(simplewallet
|
||||||
${Boost_CHRONO_LIBRARY}
|
${Boost_CHRONO_LIBRARY}
|
||||||
${Boost_PROGRAM_OPTIONS_LIBRARY}
|
${Boost_PROGRAM_OPTIONS_LIBRARY}
|
||||||
${Boost_FILESYSTEM_LIBRARY}
|
${Boost_FILESYSTEM_LIBRARY}
|
||||||
|
${Boost_LOCALE_LIBRARY}
|
||||||
${ICU_LIBRARIES}
|
${ICU_LIBRARIES}
|
||||||
${Boost_THREAD_LIBRARY}
|
${Boost_THREAD_LIBRARY}
|
||||||
${CMAKE_THREAD_LIBS_INIT}
|
${CMAKE_THREAD_LIBS_INIT}
|
||||||
|
|
|
@ -50,6 +50,8 @@ target_link_libraries(libwallet_api_tests
|
||||||
${Boost_FILESYSTEM_LIBRARY}
|
${Boost_FILESYSTEM_LIBRARY}
|
||||||
${Boost_THREAD_LIBRARY}
|
${Boost_THREAD_LIBRARY}
|
||||||
${Boost_SYSTEM_LIBRARY}
|
${Boost_SYSTEM_LIBRARY}
|
||||||
|
${Boost_LOCALE_LIBRARY}
|
||||||
|
${ICU_LIBRARIES}
|
||||||
${GTEST_LIBRARIES}
|
${GTEST_LIBRARIES}
|
||||||
${CMAKE_THREAD_LIBS_INIT}
|
${CMAKE_THREAD_LIBS_INIT}
|
||||||
${EXTRA_LIBRARIES})
|
${EXTRA_LIBRARIES})
|
||||||
|
|
Loading…
Reference in a new issue