Would like to compile the ITK without external third-party libraries

I am not sure that anyone wanted this before. I expect that non-trivial CMake code changes will be required in ITK. Possibly some major changes. I advise against trying this. Pick either ITK to be all dynamic or all static libraries. Either of those choices should work well.