Skip to content

Commit

Permalink
Merge pull request #1526 from rohit-n/build-wx-gtk
Browse files Browse the repository at this point in the history
Fail CMake if building WX without GTK libraries.
  • Loading branch information
skidau committed Nov 13, 2014
2 parents 306aa44 + 6d9c68a commit e93aa8d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Expand Up @@ -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()
Expand Down

0 comments on commit e93aa8d

Please sign in to comment.