Why are thirdparty c++ header files being installed with my executable

Does the EXCLUDE_FROM_ALL option help ?