mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2024-11-14 21:37:42 -07:00
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.
This commit is contained in:
parent
7cb8112984
commit
96d5d3f4c8
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user