CMake: Enable building with Cairo renderer on MSW without GTK

This commit is contained in:
Maarten Bent
2022-04-19 18:47:39 +02:00
parent 1d699256b5
commit 24e20d80e3
3 changed files with 96 additions and 0 deletions

View File

@@ -103,3 +103,7 @@ if(wxUSE_LIBNOTIFY)
wx_lib_include_directories(wxcore ${LIBNOTIFY_INCLUDE_DIRS})
wx_lib_link_libraries(wxcore PUBLIC ${LIBNOTIFY_LIBRARIES})
endif()
if(wxUSE_CAIRO AND NOT WXGTK)
wx_lib_include_directories(wxcore ${CAIRO_INCLUDE_DIRS})
# no libs, cairo is loaded dynamically
endif()