Skip to content
This repository was archived by the owner on May 17, 2026. It is now read-only.

Commit b8a4df7

Browse files
committed
ENH: Use modern ITK interface library for example
Replace ITK_LIBRARIES with ITK::PrincipalComponentsAnalysisModule interface library. Remove explicit include_directories as the interface library handles this automatically.
1 parent 88e3f65 commit b8a4df7

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

examples/CMakeLists.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99

1010
find_package(ITK REQUIRED COMPONENTS PrincipalComponentsAnalysis)
1111

12-
include_directories( ${PrincipalComponentsAnalysis_SOURCE_DIR}/Source )
13-
1412
add_executable(VectorKernelPCA VectorKernelPCA.cxx )
15-
target_link_libraries(VectorKernelPCA ${ITK_LIBRARIES})
13+
target_link_libraries(VectorKernelPCA ITK::PrincipalComponentsAnalysisModule)
1614

0 commit comments

Comments
 (0)