mirror of
https://github.com/reactos/CMake.git
synced 2025-01-21 02:45:05 +00:00
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`.
This commit is contained in:
parent
a423194311
commit
8a4732c60e
@ -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")
|
||||
|
Loading…
x
Reference in New Issue
Block a user