mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-30 04:37:50 +02:00
install required package for clang and make cmake build runnable on Win7
Signed-off-by: R4SAS <r4sas@i2pmail.org>
This commit is contained in:
parent
7150b2be3e
commit
5842f88245
2 changed files with 10 additions and 0 deletions
|
@ -320,6 +320,13 @@ if(WITH_BINARY)
|
|||
list(REMOVE_AT Boost_LIBRARIES -1)
|
||||
endif()
|
||||
|
||||
# synchronization library is incompatible with Windows 7
|
||||
if(WIN32)
|
||||
get_target_property(BOOSTFSLIBS Boost::filesystem INTERFACE_LINK_LIBRARIES)
|
||||
list(REMOVE_ITEM BOOSTFSLIBS synchronization)
|
||||
set_target_properties(Boost::filesystem PROPERTIES INTERFACE_LINK_LIBRARIES "${BOOSTFSLIBS}")
|
||||
endif()
|
||||
|
||||
if(WITH_STATIC)
|
||||
set(DL_LIB ${CMAKE_DL_LIBS})
|
||||
endif()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue