master
TheBrokenRail 6 months ago
parent 7dc886e7d2
commit 27cd9e88a7

@ -27,7 +27,7 @@ pkg_check_modules(GLIB REQUIRED IMPORTED_TARGET "glib-2.0>=2.43.4")
link_libraries(PkgConfig::GTK3 PkgConfig::GLIB)
# Build
add_custom_command(OUTPUT "${CMAKE_CURRENT_SOURCE_DIR}/.gresource.c"
add_custom_command(OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/.gresource.c"
COMMAND glib-compile-resources
ARGS "--target" "${CMAKE_CURRENT_BINARY_DIR}/.gresource.c" "--generate-source" "--sourcedir" "${CMAKE_CURRENT_SOURCE_DIR}/src" "${CMAKE_CURRENT_SOURCE_DIR}/src/.gresource.xml"
DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/src/.gresource.xml" "${CMAKE_CURRENT_SOURCE_DIR}/src/zenity.ui"

Loading…
Cancel
Save