+\r
+IF(ALTERNATE_CAPTCHA)\r
+ IF(FREEIMAGE_LIBRARY)\r
+ TARGET_LINK_LIBRARIES(fms ${FREEIMAGE_LIBRARY})\r
+ ADD_DEFINITIONS("-DALTERNATE_CAPTCHA")\r
+ ELSE(FREEIMAGE_LIBRARY)\r
+ MESSAGE(FATAL_ERROR "Could not find the FreeImage library. Set the location manually, or turn off the alternate captchas.")\r
+ ENDIF(FREEIMAGE_LIBRARY)\r
+ENDIF(ALTERNATE_CAPTCHA)\r
+\r
+# FreeBSD won't find Poco include files without this\r
+IF(CMAKE_SYSTEM_NAME STREQUAL "FreeBSD")\r
+ INCLUDE_DIRECTORIES(AFTER /usr/local/include)\r
+ENDIF(CMAKE_SYSTEM_NAME STREQUAL "FreeBSD")\r