mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-10-02 22:28:54 +00:00
CMake: move GTK+ check into wxWidgets
This commit is contained in:
parent
8e7648f42a
commit
6197d9622f
2 changed files with 2 additions and 24 deletions
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}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue