Add quiatation marks to CMake file

This commit is contained in:
Mario Hüttel 2019-08-25 21:44:26 +02:00
parent ea27443b39
commit c5e697b366

View File

@ -1,10 +1,10 @@
add_custom_target(glib-resources DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/resources.c) add_custom_target(glib-resources DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/resources.c")
add_custom_command(DEPENDS add_custom_command(DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/*.glade "${CMAKE_CURRENT_SOURCE_DIR}/*.glade"
${CMAKE_CURRENT_SOURCE_DIR}/resources.xml "${CMAKE_CURRENT_SOURCE_DIR}/resources.xml"
${CMAKE_CURRENT_SOURCE_DIR}/color-palette.txt "${CMAKE_CURRENT_SOURCE_DIR}/color-palette.txt"
OUTPUT OUTPUT
${CMAKE_CURRENT_BINARY_DIR}/resources.c "${CMAKE_CURRENT_BINARY_DIR}/resources.c"
COMMAND COMMAND
glib-compile-resources --target="${CMAKE_CURRENT_BINARY_DIR}/resources.c" --sourcedir="${CMAKE_CURRENT_SOURCE_DIR}" --generate-source "${CMAKE_CURRENT_SOURCE_DIR}/resources.xml" glib-compile-resources --target="${CMAKE_CURRENT_BINARY_DIR}/resources.c" --sourcedir="${CMAKE_CURRENT_SOURCE_DIR}" --generate-source "${CMAKE_CURRENT_SOURCE_DIR}/resources.xml"
) )