From cefb0e11cd0a02d145549fe13a5e8b25ed7cbfc6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Bylica?= Date: Thu, 16 Jul 2015 14:30:48 +0200 Subject: [PATCH] Fix DLL copy for eth. --- eth/CMakeLists.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/eth/CMakeLists.txt b/eth/CMakeLists.txt index c3fe2fc6c..644fe0bf9 100644 --- a/eth/CMakeLists.txt +++ b/eth/CMakeLists.txt @@ -30,8 +30,7 @@ if (JSONRPC) target_link_libraries(${EXECUTABLE} ${JSON_RPC_CPP_CLIENT_LIBRARIES}) target_link_libraries(${EXECUTABLE} ${CURL_LIBRARIES}) if (DEFINED WIN32 AND NOT DEFINED CMAKE_COMPILER_IS_MINGW) - eth_copy_dlls("${EXECUTABLE}" MHD_DLLS) - eth_copy_dlls("${EXECUTABLE}" OpenCL_DLLS) + eth_copy_dlls("${EXECUTABLE}" CURL_DLLS) endif() endif() @@ -42,9 +41,10 @@ if (JSCONSOLE) target_link_libraries(${EXECUTABLE} jsconsole) endif() -#if (DEFINED WIN32 AND NOT DEFINED CMAKE_COMPILER_IS_MINGW) -# eth_copy_dlls("${EXECUTABLE}" MHD_DLLS OpenCL_DLLS) -#endif() +if (DEFINED WIN32 AND NOT DEFINED CMAKE_COMPILER_IS_MINGW) + eth_copy_dlls("${EXECUTABLE}" MHD_DLLS) + eth_copy_dlls("${EXECUTABLE}" OpenCL_DLLS) +endif() if (APPLE) install(TARGETS ${EXECUTABLE} DESTINATION bin)