diff options
author | Zapeth <steami@live.at> | 2019-08-28 22:24:54 +0200 |
---|---|---|
committer | Zapeth <steami@live.at> | 2019-08-28 22:24:54 +0200 |
commit | 96d5d3f4c8ebdb887da49998522e37c329f1115f (patch) | |
tree | 64f74e91c97f0aafedf64656dd553222f058208c | |
parent | 7cb8112984172d1886d6bd7b12f0afffd1fa7229 (diff) |
Fix glib-compile-resources path issues
Apparently double quotes are not stripped away for assigned arguments when parsing, which causes isses for paths that include spaces.
-rw-r--r-- | src/libui_sdl/CMakeLists.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libui_sdl/CMakeLists.txt b/src/libui_sdl/CMakeLists.txt index b5d29d8..64206bf 100644 --- a/src/libui_sdl/CMakeLists.txt +++ b/src/libui_sdl/CMakeLists.txt @@ -43,11 +43,11 @@ if (UNIX) ADD_DEFINITIONS(${GTK3_CFLAGS_OTHER}) add_custom_command(OUTPUT melon_grc.c - COMMAND glib-compile-resources --sourcedir="${CMAKE_SOURCE_DIR}" - --target="${CMAKE_CURRENT_BINARY_DIR}/melon_grc.c" + COMMAND glib-compile-resources --sourcedir=${CMAKE_SOURCE_DIR} + --target=${CMAKE_CURRENT_BINARY_DIR}/melon_grc.c --generate-source "${CMAKE_SOURCE_DIR}/melon_grc.xml" - COMMAND glib-compile-resources --sourcedir="${CMAKE_SOURCE_DIR}" - --target="${CMAKE_CURRENT_BINARY_DIR}/melon_grc.h" + COMMAND glib-compile-resources --sourcedir=${CMAKE_SOURCE_DIR} + --target=${CMAKE_CURRENT_BINARY_DIR}/melon_grc.h --generate-header "${CMAKE_SOURCE_DIR}/melon_grc.xml") if (CMAKE_SYSTEM_NAME STREQUAL "Linux") |