1 # - Locate EFX-Util library
3 # EFXUTIL_LIBRARY, the library to link against
4 # EFXUTIL_FOUND, if false, do not try to link to EFX-Util
5 # EFXUTIL_INCLUDE_DIR, where to find headers.
7 IF(EFXUTIL_LIBRARY AND EFXUTIL_INCLUDE_DIR)
9 SET(EFXUTIL_FIND_QUIETLY TRUE)
13 FIND_PATH(EFXUTIL_INCLUDE_DIR
16 $ENV{EFXUTIL_DIR}/include
26 FIND_LIBRARY(EFXUTIL_LIBRARY
27 NAMES EFX-Util efxutil libefxutil
41 IF(EFXUTIL_LIBRARY AND EFXUTIL_INCLUDE_DIR)
42 SET(EFXUTIL_FOUND "YES")
43 IF(NOT EFXUTIL_FIND_QUIETLY)
44 MESSAGE(STATUS "Found EFX-Util: ${EFXUTIL_LIBRARY}")
47 IF(NOT EFXUTIL_FIND_QUIETLY)
48 MESSAGE(STATUS "Warning: Unable to find EFX-Util!")