You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openmw-tes3mp/cmake/FindCallFF.cmake

28 lines
643 B
CMake

FIND_PATH(CallFF_INCLUDES call.hpp
ENV CPATH
/usr/include
/usr/local/include
/opt/local/include
$ENV{CallFF_ROOT}/include
)
FIND_LIBRARY(CallFF_LIBRARY NAMES callff
PATHS
ENV LD_LIBRARY_PATH
ENV LIBRARY_PATH
/usr/lib64
/usr/lib
/usr/local/lib64
/usr/local/lib
/opt/local/lib
$ENV{CallFF_ROOT}/lib
)
if(CallFF_LIBRARY)
set(CallFF_LIBRARIES "${CallFF_LIBRARY}" CACHE STRING "CallFF Libraries")
endif()
if(CallFF_INCLUDES AND CallFF_LIBRARY)
set(CallFF_FOUND TRUE)
endif(CallFF_INCLUDES AND CallFF_LIBRARY)