Skip to content

ENH: Modernize CMake configuration for examples - #110

Merged
blowekamp merged 1 commit into
masterfrom
modernize-cmake-examples
Jan 29, 2026
Merged

ENH: Modernize CMake configuration for examples#110
blowekamp merged 1 commit into
masterfrom
modernize-cmake-examples

Conversation

@blowekamp

@blowekamp blowekamp commented Jan 27, 2026

Copy link
Copy Markdown
Member
  • Fixes compilation issue when enabling in an ITK build with Examples turned on.
  • Explicitly enable BUILD_EXAMPLES by setting Module_PerformanceBenchmarking_BUILD_EXAMPLES ON
  • Set PerformanceBenchmarking_INCLUDE_DIRS for configured header accessibility
  • Remove duplicate examples subdirectory addition (itk_module_examples() handles it)

- Explicitly enable BUILD_EXAMPLES by setting Module_PerformanceBenchmarking_BUILD_EXAMPLES ON
- Set PerformanceBenchmarking_INCLUDE_DIRS for configured header accessibility
- Remove duplicate examples subdirectory addition (itk_module_examples() handles it)

@dzenanz dzenanz left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks good, assuming it works.

@blowekamp
blowekamp merged commit 7950c1d into master Jan 29, 2026
6 of 7 checks passed
@hjmjohnson
hjmjohnson deleted the modernize-cmake-examples branch April 22, 2026 21:58
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