Skip to content

Commit 8e0bafb

Browse files
authored
Merge pull request #47 from InsightSoftwareConsortium/modernize-cmake-itk-module-add-library
ENH: Modernize CMake to use itk_module_add_library
2 parents 18249a7 + f23c101 commit 8e0bafb

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/CMakeLists.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,5 @@ set(IOFDF_SRC
33
itkFDFCommonImageIO.cxx
44
itkFDFImageIOFactory.cxx)
55

6-
add_library(IOFDF ${ITK_LIBRARY_BUILD_TYPE} ${IOFDF_SRC})
6+
itk_module_add_library(IOFDF ${IOFDF_SRC})
77

8-
target_link_libraries(IOFDF ${ITKIOImageBase_LIBRARIES} ${ITKTransform_LIBRARIES})
9-
itk_module_target(IOFDF)

0 commit comments

Comments
 (0)