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

Fix cmake warnings #1052

Merged
merged 2 commits into from
Nov 2, 2022
Merged

Fix cmake warnings #1052

merged 2 commits into from
Nov 2, 2022

Conversation

jcfr
Copy link
Member

@jcfr jcfr commented Nov 2, 2022

No description provided.

Adapted from Slicer/Slicer@0c6ab39ca

This commit fixes the following warning:

  CMake Warning (dev) in /home/jcfr/Projects/CTK/CMake/ctkLinkerAsNeededFlagCheck/CMakeLists.txt:
    No project() command is present.  The top-level CMakeLists.txt file must
    contain a literal, direct call to the project() command.  Add a line of
    code such as

      project(ProjectName)

    near the top of the file, but after cmake_minimum_required().

    CMake is pretending there is a "project(Project)" command on the first
    line.
  This warning is for project developers.  Use -Wno-dev to suppress it.
This commit fixes the following warning:

  CMake Deprecation Warning at /home/jcfr/Projects/CTK/Utilities/DGraph/CMakeLists.txt:21 (cmake_minimum_required):
    Compatibility with CMake < 2.8.12 will be removed from a future version of
    CMake.

    Update the VERSION argument <min> value or use a ...<max> suffix to tell
    CMake that the project does not need compatibility with older versions.
@jcfr jcfr merged commit 87b18d8 into commontk:master Nov 2, 2022
@jcfr jcfr deleted the fix-cmake-warnings branch November 2, 2022 07:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant