diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index e05f33c..084a9b9 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -3,7 +3,5 @@ set(IOFDF_SRC itkFDFCommonImageIO.cxx itkFDFImageIOFactory.cxx) -add_library(IOFDF ${ITK_LIBRARY_BUILD_TYPE} ${IOFDF_SRC}) +itk_module_add_library(IOFDF ${IOFDF_SRC}) -target_link_libraries(IOFDF ${ITKIOImageBase_LIBRARIES} ${ITKTransform_LIBRARIES}) -itk_module_target(IOFDF)