set(CPACK_BINARY_TZ 0)
set(CPACK_BINARY_ZIP ${WIN32})
set(CPACK_BINARY_NSIS ${WIN32})
-set(CPACK_BINARY_NUGET ${WIN32})
+set(CPACK_BINARY_NUGET 0)
# source archive
set(CPACK_SOURCE_TBZ2 0)
"${CMAKE_PROJECT_NAME}-${CMAKE_PROJECT_VERSION}-${CMAKE_SYSTEM_NAME}-${CMAKE_SYSTEM_PROCESSOR}")
set(CPACK_ARCHIVE_COMPONENT_INSTALL ${CPACK_COMPONENT_INSTALL})
+set(CMAKE_INSTALL_DEFAULT_COMPONENT_NAME lib)
# dependencies
if(HAVE_LIBSASL)
if(APPLE)
endif()
+if(WIN32)
+ cpack_include_if(NSIS)
+endif()
+
# BSDs
if(CMAKE_SYSTEM_NAME MATCHES BSD)
cpack_include_if(BSD)
--- /dev/null
+set(CPACK_PACKAGE_INSTALL_DIRECTORY "${CMAKE_PROJECT_NAME}\\\\${CMAKE_PROJECT_VERSION}")
+set(CPACK_NSIS_MODIFY_PATH ON)
+set(CPACK_NSIS_DISPLAY_NAME "${CMAKE_PROJECT_NAME}-${CMAKE_PROJECT_VERSION}")
+set(CPACK_NSIS_PACKAGE_NAME "${CMAKE_PROJECT_NAME}")
+set(CPACK_NSIS_HELP_LINK "${CMAKE_PROJECT_HOMEPAGE_URL}")