+ if(IS_DIRECTORY ${include_dir})
+ string(REGEX MATCH ".*[ ].*" testoki "${include_dir}")
+ if(testoki)
+ string(REPLACE " " "\\ " include_dir "${include_dir}")
+ set(INCLUDES "${INCLUDES} -I\"${include_dir}\"")
+ else(testoki)
+ set(INCLUDES "${INCLUDES} -I${include_dir}")
+ endif(testoki)
+ else(IS_DIRECTORY ${include_dir})
+ message(FATAL_ERROR "${include_dir} not find")
+ endif(IS_DIRECTORY ${include_dir})