Support WXQT in CMake
This commit is contained in:
@@ -151,11 +151,21 @@ if(wxUSE_THREADS)
|
||||
endif()
|
||||
|
||||
if(wxUSE_GUI)
|
||||
if(WIN32 AND wxUSE_METAFILE)
|
||||
if(WXMSW AND wxUSE_METAFILE)
|
||||
# this one should probably be made separately configurable
|
||||
set(wxUSE_ENH_METAFILE ON)
|
||||
endif()
|
||||
|
||||
# WXQT checks
|
||||
if(WXQT)
|
||||
wx_option_force_value(wxUSE_WEBVIEW OFF)
|
||||
wx_option_force_value(wxUSE_METAFILE OFF)
|
||||
if(WIN32)
|
||||
wx_option_force_value(wxUSE_ACCESSIBILITY OFF)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# extra dependencies
|
||||
if(wxUSE_OPENGL)
|
||||
find_package(OpenGL)
|
||||
if(NOT OPENGL_FOUND)
|
||||
|
Reference in New Issue
Block a user