Skip to content

ENH: Modernize CMake configuration for examples#110

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

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

Conversation

@blowekamp
Copy link
Member

@blowekamp blowekamp commented Jan 27, 2026

  • 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)
Copy link
Member

@dzenanz dzenanz left a comment

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
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