This commit is contained in:
Martijn Braam
2023-07-16 23:18:14 +02:00
parent 2f48f31b6a
commit 0170544013
4 changed files with 92 additions and 84 deletions

View File

@@ -75,7 +75,7 @@ add_custom_target(
)
file(GLOB srcs src/*.c src/*h)
add_executable(megapixels-gtk ${srcs} ${CMAKE_CURRENT_BINARY_DIR}/${GRESOURCE_C})
add_executable(megapixels-gtk ${srcs} ${CMAKE_CURRENT_BINARY_DIR}/${GRESOURCE_C} src/state.h)
set_source_files_properties(
${CMAKE_CURRENT_BINARY_DIR}/${GRESOURCE_C}
PROPERTIES GENERATED TRUE