diff options
author | iDunk <0> | 2016-06-20 21:34:56 +0100 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-06-20 21:39:13 +0100 |
commit | e8baa5732692f9adbf5e833a1e6b1a055bd3174e (patch) | |
tree | 6f7dc2f3828fdea09cda3640afc305370b1a388f /CMakeLists.txt | |
parent | Merge pull request #865 (diff) | |
download | monero-e8baa5732692f9adbf5e833a1e6b1a055bd3174e.tar.xz |
CMakeLists.txt: fix build for mingw
Fix from iDunk from IRC.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 09ca449d5..d821cd88c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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() |