build: only build plugins if dependencies are available

This commit is contained in:
Joshua M. Doe
2011-09-14 17:35:55 -04:00
parent f3084e002e
commit 35b06f1217
3 changed files with 19 additions and 5 deletions

View File

@@ -1 +1,3 @@
add_subdirectory (freeimage)
if(FREEIMAGE_FOUND)
add_subdirectory (freeimage)
endif(FREEIMAGE_FOUND)