Got cmake file working on Arch
cmake why you so bad
This commit is contained in:
parent
49014530e7
commit
c63646e798
1 changed files with 6 additions and 2 deletions
|
@ -327,8 +327,12 @@ else()
|
|||
|
||||
target_link_libraries(CSE2 -static)
|
||||
else()
|
||||
find_package(SDL2 REQUIRED)
|
||||
find_package(freetype REQUIRED)
|
||||
# SDL2 has no standard way of being used by cmake, so avoid
|
||||
# that mess entirely and just use pkg-config instead
|
||||
find_package(PkgConfig REQUIRED)
|
||||
pkg_check_modules(SDL2 REQUIRED sdl2)
|
||||
|
||||
find_package(Freetype REQUIRED)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue