itk::itkFactoryRegistration() error will be resolved by modifying all CLI module Testing CMakeLists.txt as:
-target_link_libraries(${CLP}Test ${CLP}Lib)
+target_link_libraries(${CLP}Test ${CLP}Lib ${SlicerExecutionModel_EXTRA_EXECUTABLE_TARGET_LIBRARIES})
I missed the comment here. It doesn't look like the pull request is what was intended to be request. I think I have just made the intended change to the repo
itk::itkFactoryRegistration() error will be resolved by modifying all CLI module Testing CMakeLists.txt as: -target_link_libraries(${CLP}Test ${CLP}Lib) +target_link_libraries(${CLP}Test ${CLP}Lib ${SlicerExecutionModel_EXTRA_EXECUTABLE_TARGET_LIBRARIES})