Skip to content

Commit

Permalink
Libraries for Linux x86_64
Browse files Browse the repository at this point in the history
  • Loading branch information
tesonep committed Nov 28, 2022
1 parent 5cdb731 commit 82d6d38
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
8 changes: 6 additions & 2 deletions cmake/importCairo.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,15 @@ if (BUILD_BUNDLE)
add_third_party_dependency("cairo-1.17.4")
add_third_party_dependency("libpng-1.6.37")
endif()
else() #Linux, only for arm
else() #Linux
If(${CMAKE_SYSTEM_PROCESSOR} MATCHES "armv7l" OR (${CMAKE_SYSTEM_PROCESSOR} MATCHES "aarch64"))
add_third_party_dependency("pixman-0.40.0")
add_third_party_dependency("cairo-1.16.0")
add_third_party_dependency("libpng-1.6.37")
endif()
else()
add_third_party_dependency("pixman-0.40.0")
add_third_party_dependency("cairo-1.17.4")
add_third_party_dependency("libpng-1.6.37")
endif()
endif()
endif()
6 changes: 5 additions & 1 deletion cmake/importFreetype2.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,11 @@ function(download_Freetype)
else() # linuxes, only for ARM
If(${CMAKE_SYSTEM_PROCESSOR} MATCHES "armv7l" OR (${CMAKE_SYSTEM_PROCESSOR} MATCHES "aarch64"))
add_third_party_dependency("freetype-2.10.0")
endif()
else()
add_third_party_dependency("freetype-2.12.1")
add_third_party_dependency("fontconfig-2.13.1")
add_third_party_dependency("harfbuzz-5.3.1")
endif()
endif()
endfunction()

Expand Down
2 changes: 1 addition & 1 deletion cmake/importSDL2.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function(download_SDL2)
If(${CMAKE_SYSTEM_PROCESSOR} MATCHES "armv7l" OR (${CMAKE_SYSTEM_PROCESSOR} MATCHES "aarch64"))
add_third_party_dependency("SDL2-2.0.14")
else()
add_third_party_dependency("SDL2-2.0.7")
add_third_party_dependency("SDL2-2.24.1")
endif()
endif()
endfunction()
Expand Down

0 comments on commit 82d6d38

Please sign in to comment.