-
Notifications
You must be signed in to change notification settings - Fork 101
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🔧 Update conan generator to CMakeToolchain
- Loading branch information
1 parent
c41fe72
commit d1e9691
Showing
18 changed files
with
146 additions
and
427 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
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 |
---|---|---|
@@ -1,77 +1,17 @@ | ||
include(DependenciesFunctions) | ||
find_package(Threads REQUIRED) | ||
|
||
add_external_lib( | ||
SDL2 | ||
sdl/2.26.0 | ||
REQUIRED | ||
INTERFACE_NAME SDL::SDL | ||
PKG_CONFIG "sdl2 >= 2.0" | ||
) | ||
add_external_lib( | ||
SDL2_image | ||
sdl_image/2.0.5 | ||
REQUIRED | ||
INTERFACE_NAME SDL::SDL_image | ||
PKG_CONFIG "SDL2_image" | ||
) | ||
add_external_lib( | ||
SDL2_ttf | ||
sdl_ttf/2.0.18 | ||
REQUIRED | ||
INTERFACE_NAME SDL::TTF | ||
PKG_CONFIG "SDL2_ttf" | ||
) | ||
|
||
add_external_lib( | ||
ZLIB | ||
zlib/1.2.13 | ||
REQUIRED | ||
PKG_CONFIG "zlib" | ||
) | ||
add_external_lib( | ||
LibNoise | ||
libnoise/1.0.0 | ||
REQUIRED | ||
FIND_PACKAGE | ||
) | ||
add_external_lib( | ||
LIBPNG | ||
libpng/1.6.39 | ||
REQUIRED | ||
PKG_CONFIG "libpng" | ||
) | ||
|
||
add_external_lib( | ||
OpenAL | ||
openal/1.22.2 | ||
PKG_CONFIG "openal >= 1.18" | ||
FIND_PACKAGE_OPTIONS CONFIG | ||
) | ||
find_package(Threads REQUIRED) | ||
find_package(SDL2 REQUIRED) | ||
find_package(SDL2_image REQUIRED) | ||
find_package(SDL2_ttf REQUIRED) | ||
find_package(LibNoise REQUIRED) | ||
find_package(PNG REQUIRED) | ||
|
||
add_external_lib( | ||
VorbisFile | ||
vorbis/1.3.7 | ||
PKG_CONFIG "vorbis >= 1.2, vorbisfile >= 1.2" | ||
FIND_PACKAGE | ||
) | ||
find_package(OpenAL CONFIG) | ||
find_package(Vorbis) | ||
cmake_dependent_option(ENABLE_AUDIO "use OPENAL" ON "OPENAL_FOUND AND VORBISFILE_FOUND" OFF) | ||
|
||
add_external_lib( | ||
Angelscript | ||
angelscript/2.35.1 | ||
FIND_PACKAGE | ||
BY_DEFAULT_DISABLED | ||
) | ||
add_external_lib( | ||
Microprofile | ||
microprofile/3.1 | ||
FIND_PACKAGE | ||
BY_DEFAULT_DISABLED | ||
) | ||
find_package(Angelscript) | ||
cmake_dependent_option(USE_ANGELSCRIPT "use Angelscript" ON "TARGET Angelscript::angelscript" OFF) | ||
|
||
if (UNIX AND NOT APPLE) | ||
add_external_lib( | ||
libalsa | ||
libalsa/1.2.7.2 | ||
) | ||
endif () | ||
find_package(microprofile) | ||
option(USE_MICROPROFILE "use Microprofile" OFF) |
Oops, something went wrong.