Fix build on Arch Linux.
This commit is contained in:
parent
d721e098eb
commit
700e262979
|
@ -83,9 +83,10 @@ if (UNIX)
|
|||
|
||||
FIND_PACKAGE(PkgConfig REQUIRED)
|
||||
PKG_CHECK_MODULES(GTK3 REQUIRED gtk+-3.0)
|
||||
PKG_CHECK_MODULES(SDL2 REQUIRED sdl2)
|
||||
|
||||
INCLUDE_DIRECTORIES(${GTK3_INCLUDE_DIRS})
|
||||
LINK_LIBRARIES(${GTK3_LIBRARIES})
|
||||
INCLUDE_DIRECTORIES(${GTK3_INCLUDE_DIRS} ${SDL2_INCLUDE_DIRS})
|
||||
LINK_LIBRARIES(${GTK3_LIBRARIES} ${SDL2_LIBRARIES})
|
||||
|
||||
ADD_DEFINITIONS(${GTK3_CFLAGS_OTHER})
|
||||
|
||||
|
|
Loading…
Reference in New Issue