if(FREEIMAGE_FOUND) add_subdirectory (freeimage) endif(FREEIMAGE_FOUND)