Warning, /multimedia/amarok/cmake/modules/FindLibOFA.cmake is written in an unsupported language. File is not indexed.
0001 find_path(LIBOFA_INCLUDE_DIR NAMES ofa.h 0002 HINTS 0003 ~/usr/include 0004 /opt/local/include 0005 /usr/include 0006 /usr/local/include 0007 PATH_SUFFIXES ofa1 0008 ) 0009 0010 find_library(LIBOFA_LIBRARY NAMES ofa 0011 PATHS 0012 ~/usr/lib 0013 /opt/local/lib 0014 /usr/lib 0015 /usr/lib64 0016 /usr/local/lib 0017 ) 0018 0019 0020 if(LIBOFA_INCLUDE_DIR AND LIBOFA_LIBRARY) 0021 set(LIBOFA_FOUND TRUE) 0022 message(STATUS "Found libofa: ${LIBOFA_INCLUDE_DIR}, ${LIBOFA_LIBRARY}") 0023 else() 0024 set(LIBOFA_FOUND FALSE) 0025 if (LIBOFA_FIND_REQUIRED) 0026 message(FATAL_ERROR "Could NOT find required package LibOFA") 0027 endif() 0028 endif() 0029 0030 mark_as_advanced(LIBOFA_INCLUDE_DIR LIBOFA_LIBRARY)