mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 08:14:15 +00:00
try fixing https://github.com/PurpleI2P/i2pd/issues/612
This commit is contained in:
parent
c09212de81
commit
2e74d91ddc
@ -369,7 +369,10 @@ if (WITH_BINARY)
|
|||||||
if (MSYS OR MINGW)
|
if (MSYS OR MINGW)
|
||||||
set (MINGW_EXTRA -lws2_32 -lmswsock -liphlpapi )
|
set (MINGW_EXTRA -lws2_32 -lmswsock -liphlpapi )
|
||||||
endif ()
|
endif ()
|
||||||
target_link_libraries( "${PROJECT_NAME}" libi2pd i2pdclient ${DL_LIB} ${Boost_LIBRARIES} ${OPENSSL_LIBRARIES} ${ZLIB_LIBRARY} ${CMAKE_THREAD_LIBS_INIT} ${MINGW_EXTRA} )
|
if (WITH_STATIC)
|
||||||
|
set(DL_LIB ${CMAKE_DL_LIBS})
|
||||||
|
endif()
|
||||||
|
target_link_libraries( "${PROJECT_NAME}" libi2pd i2pdclient ${DL_LIB} ${Boost_LIBRARIES} ${OPENSSL_LIBRARIES} ${ZLIB_LIBRARY} ${CMAKE_THREAD_LIBS_INIT} ${MINGW_EXTRA} ${DL_LIB})
|
||||||
|
|
||||||
install(TARGETS "${PROJECT_NAME}" RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT Runtime)
|
install(TARGETS "${PROJECT_NAME}" RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT Runtime)
|
||||||
set (APPS "\${CMAKE_INSTALL_PREFIX}/bin/${PROJECT_NAME}${CMAKE_EXECUTABLE_SUFFIX}")
|
set (APPS "\${CMAKE_INSTALL_PREFIX}/bin/${PROJECT_NAME}${CMAKE_EXECUTABLE_SUFFIX}")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user