mirror of https://github.com/PCSX2/pcsx2.git
parent
0d40661b33
commit
2245315b60
|
@ -163,7 +163,9 @@ else()
|
||||||
find_package(X11 REQUIRED)
|
find_package(X11 REQUIRED)
|
||||||
make_imported_target_if_missing(X11::X11 X11)
|
make_imported_target_if_missing(X11::X11 X11)
|
||||||
endif()
|
endif()
|
||||||
if(UNIX)
|
if(APPLE)
|
||||||
|
check_lib(GIO gio-2.0 gio/gio.h)
|
||||||
|
elseif(UNIX)
|
||||||
# Most plugins (if not all) and PCSX2 core need gtk2, so set the required flags
|
# Most plugins (if not all) and PCSX2 core need gtk2, so set the required flags
|
||||||
if (GTK2_API)
|
if (GTK2_API)
|
||||||
find_package(GTK2 REQUIRED gtk)
|
find_package(GTK2 REQUIRED gtk)
|
||||||
|
|
|
@ -1468,6 +1468,12 @@ if(WIN32)
|
||||||
opengl32.lib
|
opengl32.lib
|
||||||
comsuppw.lib
|
comsuppw.lib
|
||||||
)
|
)
|
||||||
|
elseif(APPLE)
|
||||||
|
target_link_libraries(PCSX2_FLAGS INTERFACE
|
||||||
|
PkgConfig::GIO
|
||||||
|
PCAP::PCAP
|
||||||
|
LibXml2::LibXml2
|
||||||
|
)
|
||||||
else()
|
else()
|
||||||
target_link_libraries(PCSX2_FLAGS INTERFACE
|
target_link_libraries(PCSX2_FLAGS INTERFACE
|
||||||
GTK::gtk
|
GTK::gtk
|
||||||
|
|
Loading…
Reference in New Issue