mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-29 18:53:14 +00:00
CMakeLists.txt: fix build for mingw
Fix from iDunk from IRC.
This commit is contained in:
parent
a645a3e5ff
commit
e8baa57326
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue