CMake: show extra toolkit options in summary
Just like configure does.
This commit is contained in:
parent
6ee593c78d
commit
6cb97e2208
2 changed files with 12 additions and 3 deletions
|
|
@ -520,8 +520,11 @@ if(wxUSE_GUI)
|
|||
if(NOT LIBNOTIFY_FOUND)
|
||||
message(WARNING "Libnotify not found, it won't be used for notifications")
|
||||
wx_option_force_value(wxUSE_LIBNOTIFY OFF)
|
||||
elseif(NOT LIBNOTIFY_VERSION VERSION_LESS 0.7)
|
||||
set(wxUSE_LIBNOTIFY_0_7 ON)
|
||||
else()
|
||||
if(NOT LIBNOTIFY_VERSION VERSION_LESS 0.7)
|
||||
set(wxUSE_LIBNOTIFY_0_7 ON)
|
||||
endif()
|
||||
list(APPEND wxTOOLKIT_EXTRA "libnotify")
|
||||
endif()
|
||||
else()
|
||||
set(wxUSE_LIBNOTIFY OFF)
|
||||
|
|
@ -566,6 +569,7 @@ if(wxUSE_GUI)
|
|||
if(GNOMEVFS2_FOUND)
|
||||
list(APPEND wxTOOLKIT_INCLUDE_DIRS ${GNOMEVFS2_INCLUDE_DIRS})
|
||||
list(APPEND wxTOOLKIT_LIBRARIES ${GNOMEVFS2_LIBRARIES})
|
||||
list(APPEND wxTOOLKIT_EXTRA "gnomevfs")
|
||||
else()
|
||||
message(STATUS "libgnomevfs not found, library won't be used to associate MIME type")
|
||||
wx_option_force_value(wxUSE_LIBGNOMEVFS OFF)
|
||||
|
|
|
|||
|
|
@ -77,9 +77,14 @@ endif()
|
|||
# Print configuration summary
|
||||
wx_print_thirdparty_library_summary()
|
||||
|
||||
if(wxTOOLKIT_EXTRA)
|
||||
string(REPLACE ";" ", " wxTOOLKIT_DESC "${wxTOOLKIT_EXTRA}")
|
||||
set(wxTOOLKIT_DESC "with support for: ${wxTOOLKIT_DESC}")
|
||||
endif()
|
||||
|
||||
message(STATUS "Configured wxWidgets ${wxVERSION} for ${CMAKE_SYSTEM}
|
||||
Min OS Version required at runtime: ${wxREQUIRED_OS_DESC}
|
||||
Which GUI toolkit should wxWidgets use? ${wxBUILD_TOOLKIT} ${wxTOOLKIT_VERSION}
|
||||
Which GUI toolkit should wxWidgets use? ${wxBUILD_TOOLKIT} ${wxTOOLKIT_VERSION} ${wxTOOLKIT_DESC}
|
||||
Should wxWidgets be compiled into single library? ${wxBUILD_MONOLITHIC}
|
||||
Should wxWidgets be linked as a shared library? ${wxBUILD_SHARED}
|
||||
Should wxWidgets support Unicode? ${wxUSE_UNICODE}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue