From 15a561c40769f7fec9917fbb9260d66ac4313153 Mon Sep 17 00:00:00 2001 From: Marek Kotewicz Date: Thu, 16 Apr 2015 22:31:26 +0200 Subject: [PATCH] decent platforms do not need dlls --- eth/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/eth/CMakeLists.txt b/eth/CMakeLists.txt index 649d7a2d3..962d55373 100644 --- a/eth/CMakeLists.txt +++ b/eth/CMakeLists.txt @@ -25,7 +25,9 @@ if (JSONRPC) target_link_libraries(${EXECUTABLE} web3jsonrpc) target_link_libraries(${EXECUTABLE} ${JSON_RPC_CPP_CLIENT_LIBRARIES}) target_link_libraries(${EXECUTABLE} ${CURL_LIBRARIES}) - eth_copy_dlls(${EXECUTABLE} CURL_DLLS) + if (DEFINED WIN32 AND NOT DEFINED CMAKE_COMPILER_IS_MINGW) + eth_copy_dlls(${EXECUTABLE} CURL_DLLS) + endif() endif() target_link_libraries(${EXECUTABLE} webthree)