We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3942f8d commit 8d48e77Copy full SHA for 8d48e77
1 file changed
src/Filtering/MathematicalMorphology/DilateUsingFunctionalGrayscale/CMakeLists.txt
@@ -9,10 +9,14 @@ find_package( ITK REQUIRED
9
ITKMathematicalMorphology
10
ITKIOPNG
11
)
12
-include( ${ITK_USE_FILE} )
13
14
add_executable( DilateUsingFunctionalGrayscale Code.cxx )
15
-target_link_libraries( DilateUsingFunctionalGrayscale ${ITK_LIBRARIES} )
+target_link_libraries(${PROJECT_NAME}
+ PRIVATE
16
+ ITK::ITKImageIO
17
+ ITK::ITKCommonModule
18
+ ITK::ITKMathematicalMorphologyModule
19
+)
20
21
install( TARGETS DilateUsingFunctionalGrayscale
22
DESTINATION bin/ITKSphinxExamples/Filtering/MathematicalMorphology
0 commit comments