pull/19/head
parent 7be0d72587
commit 9994e9fd5c

@ -233,6 +233,15 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
<property name="default-width">800</property>
<property name="default-height">600</property>
<property name="icon-name">com.ublinux.libublsettingsui-gtk3</property>
<child>
<object class="GtkScrolledWindow">
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="shadow-type">in</property>
<child>
<object class="GtkViewport">
<property name="visible">True</property>
<property name="can-focus">False</property>
<child>
<object class="GtkBox" id="plugBox">
<property name="visible">True</property>
@ -381,6 +390,10 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
</child>
</object>
</child>
</object>
</child>
</object>
</child>
<child type="titlebar">
<object class="GtkHeaderBar" id="headerBar">
<property name="visible">True</property>

@ -14,6 +14,11 @@ include_directories(${VTE291_INCLUDE_DIRS})
link_directories(${VTE291_LIBRARY_DIRS})
add_definitions(${VTE291_CFLAGS_OTHER})
pkg_check_modules(POLKIT REQUIRED polkit-agent-1)
include_directories(${POLKIT_INCLUDE_DIRS})
link_directories(${POLKIT_LIBRARY_DIRS})
add_definitions(${POLKIT_CFLAGS_OTHER})
find_library(WEBKIT_LIBRARIES_FOUND webkit2gtk-4.0 webkit2gtk-web-extension-4.0)
option(WEBKIT_FOUND "No" OFF)
@ -40,8 +45,6 @@ set(DEPENDFILES
../gresource.xml
../libublsettingsui-gtk3-banner.png
../libublsettingsui-gtk3.css
../com.ublinux.libublsettingsui-gtk3.checked.svg
../com.ublinux.libublsettingsui-gtk3.warning.svg
)
file(COPY ${DEPENDFILES} DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
@ -80,11 +83,14 @@ set(LIBRARIES
${GTK_LIBRARIES}
${WEBKIT_LIBRARIES}
${VTE291_LIBRARIES}
${POLKIT_LIBRARIES}
ublsettings
ublsettings-gtk3
pthread)
add_definitions(-DVTE_INCLUDE)
add_definitions(-DLIBUBLSETTINGSUI_VERSION=${VERSION})
message(STATUS ${VERSION})
message(${CMAKE_INSTALL_LIBDIR})
target_include_directories(${PROJECT_NAME} PUBLIC ${PROJECT_BINARY_DIR})

Loading…
Cancel
Save