forked from ryzom/ryzomcore
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
extract hunter dependencies into separate file remove implicit depend…
…ency, make caching easier and enable usage of other package manager
- Loading branch information
Showing
10 changed files
with
86 additions
and
188 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# This fix is for compiling OpenSSL in Azure Pipeline linux agent where ENV{SYSTEM} == "build" | ||
IF (DEFINED ENV{SYSTEM} AND UNIX AND NOT APPLE) | ||
STRING(TOUPPER "$ENV{SYSTEM}" _tmp) | ||
IF (_tmp STREQUAL "BUILD") | ||
UNSET(ENV{SYSTEM}) | ||
ENDIF () | ||
UNSET(_tmp) | ||
ENDIF () | ||
## TODO: hack for freetype hunter package | ||
SET(ON 1) | ||
## | ||
HUNTER_ADD_PACKAGE(ZLIB) | ||
HUNTER_ADD_PACKAGE(libxml2) | ||
|
||
# cross compiling doesn't quite work on the hunter openssl package therefor compile it separately and use it | ||
IF (NOT CMAKE_CROSSCOMPILING) | ||
HUNTER_ADD_PACKAGE(OpenSSL) | ||
ENDIF () | ||
|
||
HUNTER_ADD_PACKAGE(luabind) | ||
HUNTER_ADD_PACKAGE(CURL) | ||
HUNTER_ADD_PACKAGE(Lua) | ||
HUNTER_ADD_PACKAGE(freetype) | ||
HUNTER_ADD_PACKAGE(Jpeg) | ||
HUNTER_ADD_PACKAGE(giflib) | ||
HUNTER_ADD_PACKAGE(PNG) | ||
HUNTER_ADD_PACKAGE(libogg) | ||
HUNTER_ADD_PACKAGE(vorbis) | ||
HUNTER_ADD_PACKAGE(ffmpeg) | ||
HUNTER_ADD_PACKAGE(OpenAL) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.