Skip to content

Conversation

@kdobrev
Copy link

@kdobrev kdobrev commented Dec 10, 2023

No description provided.

INCLUDES DESTINATION include/${PROJECT_NAME}
)

find_package(ZLIB REQUIRED "1.0")

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this be find_package(ZLIB "1.0" REQUIRED)?

Copy link

@MichaIng MichaIng Jan 16, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, at least for newer cmake, it needs to be that way round: https://cmake.org/cmake/help/latest/command/find_package.html

Suggested change
find_package(ZLIB REQUIRED "1.0")
find_package(ZLIB "1.0" REQUIRED)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants