Skip to content

CMake only adds cpack related options when the top level project.#4722

Merged
rouault merged 1 commit intoOSGeo:masterfrom
dbs4261:patch-2
Mar 22, 2026
Merged

CMake only adds cpack related options when the top level project.#4722
rouault merged 1 commit intoOSGeo:masterfrom
dbs4261:patch-2

Conversation

@dbs4261
Copy link
Contributor

@dbs4261 dbs4261 commented Mar 20, 2026

Updated CMakeLists.txt to only set CPACK variables and uninstall target when proj is the top level project. This will help when proj is consumed using something like CMake's FetchContent.

Updated CMakeLists.txt to only set CPACK variables and uninstall target when proj is the top level project
@rouault rouault added this to the 9.9.0 milestone Mar 22, 2026
@rouault rouault merged commit e479bd3 into OSGeo:master Mar 22, 2026
30 checks passed
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.

2 participants