]> granicus.if.org Git - transmission/commitdiff
Only include .msi-related CMake stuff when it makes sense
authorMike Gelfand <mikedld@mikedld.com>
Sat, 2 Apr 2016 20:01:59 +0000 (20:01 +0000)
committerMike Gelfand <mikedld@mikedld.com>
Sat, 2 Apr 2016 20:01:59 +0000 (20:01 +0000)
CMakeLists.txt

index fb195ded64e69183a2ae6103987414870007f390..aa1a0f0eb9323e8a4592815074d3c058f8304b3c 100644 (file)
@@ -568,7 +568,7 @@ if(INSTALL_DOC)
     install(FILES AUTHORS COPYING NEWS README extras/rpc-spec.txt extras/send-email-when-torrent-done.sh DESTINATION ${CMAKE_INSTALL_DOCDIR})
 endif()
 
-if(WIN32)
+if(MSVC AND ENABLE_DAEMON AND ENABLE_QT AND ENABLE_UTILS AND USE_QT5 AND WITH_CRYPTO STREQUAL "openssl")
     add_subdirectory(dist/msi)
 endif()