mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-15 12:19:55 +00:00
27 lines
643 B
CMake
27 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)
|