mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-20 03:24:59 +00:00
Merge pull request #1526 from rohit-n/build-wx-gtk
Fail CMake if building WX without GTK libraries.
This commit is contained in:
commit
e93aa8d25d
1 changed files with 2 additions and 0 deletions
|
@ -685,6 +685,8 @@ if(NOT DISABLE_WX AND NOT ANDROID)
|
|||
include(FindGTK2)
|
||||
if(GTK2_FOUND)
|
||||
include_directories(${GTK2_INCLUDE_DIRS})
|
||||
else()
|
||||
message(FATAL_ERROR "GTK is required to build the WX UI. Please install the GTK development libraries.")
|
||||
endif()
|
||||
endif()
|
||||
endif()
|
||||
|
|
Loading…
Add table
Reference in a new issue