You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Ferenc Gerlits (Jira)" <ji...@apache.org> on 2023/08/29 13:41:00 UTC

[jira] [Created] (MINIFICPP-2201) Incorrect cpack can be used by the windows build script

Ferenc Gerlits created MINIFICPP-2201:
-----------------------------------------

             Summary: Incorrect cpack can be used by the windows build script
                 Key: MINIFICPP-2201
                 URL: https://issues.apache.org/jira/browse/MINIFICPP-2201
             Project: Apache NiFi MiNiFi C++
          Issue Type: Bug
            Reporter: Ferenc Gerlits


The {{win_build_vs.bat}} script calls {{cpack}} without specifying a path, so if some other {{cpack}} exists on the {{PATH}} (e.g. chocolatey has such an executable), then it will not find the correct CMake {{cpack}}.

We should be able to find the location of {{cmake.exe}} and use the {{cpack.exe}} which is in the same directory.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)