Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add optional to cpack include in cmake #900

Closed
wants to merge 1 commit into from

Commits on Jun 29, 2023

  1. add optional to cpack include in cmake

    If cpack was already include, including it again without the `optional` argument creates an error. With the following message:
    ```
    [cmake] CMake Warning at /usr/share/cmake/Modules/CPack.cmake:507 (message):
    [cmake]   CPack.cmake has already been included!!
    ```
    
    `optional` fixes this based on this documentation. https://cmake.org/cmake/help/v3.5/command/include.html
    And it is compatible with the current minimal cmake version 3.5
    Jo5ta authored Jun 29, 2023
    Configuration menu
    Copy the full SHA
    42c9d66 View commit details
    Browse the repository at this point in the history