Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F123378
echo3Dependencies.cmake
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
echo3Dependencies.cmake
View Options
#################################################################
# 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
Details
Attached
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)
Attached To
Mode
rEE Echo 3
Attached
Detach File
Event Timeline
Log In to Comment