forked from mirror/openmw-tes3mp
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.
29 lines
690 B
CMake
29 lines
690 B
CMake
8 years ago
|
FIND_PATH(CallFF_INCLUDES call.hpp
|
||
|
ENV CPATH
|
||
|
PATH_SUFFIXES include/CallFF include
|
||
|
/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)
|