Page MenuHomePhorge

echo3Dependencies.cmake
No OneTemporary

Size
1 KB
Referenced Files
None
Subscribers
None

echo3Dependencies.cmake

#################################################################
# Provided dependencies
set(BOOST_ROOT "${DEPS_ROOT}") # dumb hack until we update boost to 1.71
find_package(Boost REQUIRED chrono date_time filesystem random regex system thread timer)
find_package(ZLIB)
# --define-prefix will cause the prefix in the .pc file to be set to the grandparent of the .pc file. This allows us to
# provide .pc files in our deps opt folder and it will use ${DEPS_ROOT} for libs and includes. This can't be set for
# dependencies on the system since the system configuration can vary from what pkg-config would expect.
set(PKG_CONFIG_EXECUTABLE pkg-config --define-prefix)
set(ENV{PKG_CONFIG_PATH} "${DEPS_ROOT}/lib/pkgconfig")
find_package(PkgConfig REQUIRED)
if(BUILD_WITH_FREETYPE)
pkg_check_modules(freetype2 REQUIRED IMPORTED_TARGET freetype2)
endif()
pkg_check_modules(bullet REQUIRED IMPORTED_TARGET bullet)
pkg_check_modules(libmodplug REQUIRED IMPORTED_TARGET libmodplug)
pkg_check_modules(libssl REQUIRED IMPORTED_TARGET libssl)
pkg_check_modules(libcrypto REQUIRED IMPORTED_TARGET libcrypto)
pkg_check_modules(libtls REQUIRED IMPORTED_TARGET libtls)
pkg_check_modules(ogg REQUIRED IMPORTED_TARGET ogg)
pkg_check_modules(tmxparser REQUIRED IMPORTED_TARGET tmxparser)
pkg_check_modules(vorbis REQUIRED IMPORTED_TARGET vorbis)
pkg_check_modules(vorbisfile REQUIRED IMPORTED_TARGET vorbisfile)
if(BUILD_WITH_OPENGL)
pkg_check_modules(glew REQUIRED IMPORTED_TARGET glew)
endif()
if(BUILD_WITH_JPEG)
pkg_check_modules(libjpeg REQUIRED IMPORTED_TARGET libjpeg)
endif()
#################################################################
# System dependencies
set(PKG_CONFIG_EXECUTABLE pkg-config --dont-define-prefix)
if(BUILD_WITH_PNG)
pkg_check_modules(libpng REQUIRED IMPORTED_TARGET libpng)
endif()

File Metadata

Mime Type
text/plain
Expires
Wed, Jan 15, 8:06 PM (2 h, 23 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
72040
Default Alt Text
echo3Dependencies.cmake (1 KB)

Event Timeline