CMake: fix build with wxUSE_OLE disabled
wxDirDialog falls back to using wxGenericDirDialog, add this file to the sources.
This commit is contained in:
parent
b42de093f6
commit
3d9ee4852a
@ -25,6 +25,9 @@ if(WXMSW)
|
||||
wx_append_sources(CORE_SRC MSW_DESKTOP_LOWLEVEL)
|
||||
wx_append_sources(CORE_SRC MSW)
|
||||
wx_append_sources(CORE_SRC MSW_DESKTOP)
|
||||
if(NOT wxUSE_OLE)
|
||||
wx_list_add_prefix(CORE_SRC "${wxSOURCE_DIR}/" "src/generic/dirdlgg.cpp")
|
||||
endif()
|
||||
elseif(WXGTK)
|
||||
if(WXGTK2)
|
||||
wx_append_sources(CORE_SRC GTK2_LOWLEVEL)
|
||||
|
Loading…
Reference in New Issue
Block a user