
# 
# 添加头文件
# 
# dxm_find_add_includes(MODULE INCLUDE1 INCLUDE2)
MACRO(dxm_find_add_includes MODULE)

	FOREACH( TEMP ${ARGN} )
		# 唯一性检测;
		SET(CHECK_UNIQUE TRUE)
		FOREACH(TEMP_VALUE ${DXM_FIND_${MODULE}_INCLUDE_DIR})
			IF(${TEMP_VALUE} STREQUAL ${TEMP})
				SET(CHECK_UNIQUE FALSE)
				BREAK()
			ENDIF()	
		ENDFOREACH()
		IF(CHECK_UNIQUE)
			LIST( APPEND DXM_FIND_${MODULE}_INCLUDE_DIR ${TEMP} )
		ENDIF()
	ENDFOREACH()
ENDMACRO()

