diff options
author | Mathieu Malaterre <mathieu.malaterre@gmail.com> | 2019-06-05 08:17:21 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-06-05 13:32:22 (GMT) |
commit | 8a4732c60e5cb2137fa824605e4668f3229a9684 (patch) | |
tree | 5d91d9d04206469bcf21d24fb7cb4f2ea2af733f /Modules/Internal | |
parent | a4231943117f5ba3dd0fdc6c8b1824334162b69f (diff) | |
download | CMake-8a4732c60e5cb2137fa824605e4668f3229a9684.zip CMake-8a4732c60e5cb2137fa824605e4668f3229a9684.tar.gz CMake-8a4732c60e5cb2137fa824605e4668f3229a9684.tar.bz2 |
CPack/NuGet: Find nuget tool on case sensitive file system
There is no need to use a CamelCase executable name since it will be
handled gracefully on Windows anyway. This change allow support for
Linux system, in particular Debian distribution where the binary is
called `nuget`.
Diffstat (limited to 'Modules/Internal')
-rw-r--r-- | Modules/Internal/CPack/CPackNuGet.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Internal/CPack/CPackNuGet.cmake b/Modules/Internal/CPack/CPackNuGet.cmake index 198ccad..4b2ce92 100644 --- a/Modules/Internal/CPack/CPackNuGet.cmake +++ b/Modules/Internal/CPack/CPackNuGet.cmake @@ -276,7 +276,7 @@ function(_cpack_nuget_make_files_tag) set(_CPACK_NUGET_FILES_TAG "<files>\n${_files} </files>" PARENT_SCOPE) endfunction() -find_program(NUGET_EXECUTABLE NuGet) +find_program(NUGET_EXECUTABLE nuget) _cpack_nuget_debug_var(NUGET_EXECUTABLE) if(NOT NUGET_EXECUTABLE) message(FATAL_ERROR "NuGet executable not found") |