From: Sfan5 Date: Tue, 21 Jan 2014 12:35:26 +0000 (+0100) Subject: Fix curl dll not getting installed when sound is disabled X-Git-Tag: 0.4.10~303 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=3875a77bf88f0876a1c56852d59c4832d908d711;p=oweals%2Fminetest.git Fix curl dll not getting installed when sound is disabled --- diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 26f8b6e29..f0b98f44b 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -600,9 +600,9 @@ if(WIN32) if(VORBISFILE_DLL) install(FILES ${VORBISFILE_DLL} DESTINATION ${BINDIR}) endif() - if(CURL_DLL) - install(FILES ${CURL_DLL} DESTINATION ${BINDIR}) - endif() + endif() + if(CURL_DLL) + install(FILES ${CURL_DLL} DESTINATION ${BINDIR}) endif() endif()