mirror of
https://github.com/monero-project/monero.git
synced 2026-01-11 23:22:52 +01:00
CMakeLists.txt: fix build for mingw
Fix from iDunk from IRC.
This commit is contained in:
@@ -444,7 +444,7 @@ elseif(NOT MSVC)
|
||||
set(EXTRA_LIBRARIES ${RT})
|
||||
endif()
|
||||
|
||||
if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
|
||||
if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU" AND NOT MINGW)
|
||||
find_library(DL dl)
|
||||
set(EXTRA_LIBRARIES ${DL})
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user