mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 14:49:42 -06:00
CMake: move GTK+ check into wxWidgets
This commit is contained in:
2
Externals/wxWidgets3/CMakeLists.txt
vendored
2
Externals/wxWidgets3/CMakeLists.txt
vendored
@ -860,6 +860,8 @@ elseif(${CMAKE_SYSTEM_NAME} MATCHES "Linux|FreeBSD")
|
||||
if (NOT X11_xf86vmode_FOUND OR NOT X11_Xinerama_FOUND)
|
||||
message(FATAL_ERROR "wxGTK2 needs Xinerama and Xxf86vm")
|
||||
endif()
|
||||
find_package(GTK2 REQUIRED)
|
||||
target_include_directories(wx PUBLIC ${GTK2_INCLUDE_DIRS})
|
||||
target_link_libraries(wx PRIVATE
|
||||
png
|
||||
${GTHREAD2_LIBRARIES}
|
||||
|
Reference in New Issue
Block a user