Cannot create a package that has no dependencies nor content. #12498
goreshmusalay
started this conversation in
General
Replies: 1 comment 4 replies
-
Can you elaborate more on what cpack does and what it is? We are not familiar with it. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to generate NuGet package by using cPack,
I am new to cmake and cpack stuff, so bare with me if the questions and doubt i have are stupid ones
I am hitting the following error on issuing cpack --build . --package
Cannot create a package that has no dependencies nor content.
I have added following NUGET params to the CMakeList.txt file.
CPACK_NUGET_PACKAGE_VERSION
CPACK_NUGET_PACKAGE_DEPENDENCIES
CPACK_NUGET_PACKAGE_DEBUG
CPACK_NUGET_PACKAGE_DESCRIPTION
CPACK_GENERATOR as NuGet
CPACK_NUGET_PACKAGE_NAME
The cpack geneartes the nuget spec file but it has no tag inside it
In build Dir I see folder created with the cmake install (FILES, ....) options that was added.
Can you help in what must i have done wrong here?
Beta Was this translation helpful? Give feedback.
All reactions