mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-23 06:10:03 -06: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:
@ -43,11 +43,11 @@ if (UNIX)
|
|||||||
ADD_DEFINITIONS(${GTK3_CFLAGS_OTHER})
|
ADD_DEFINITIONS(${GTK3_CFLAGS_OTHER})
|
||||||
|
|
||||||
add_custom_command(OUTPUT melon_grc.c
|
add_custom_command(OUTPUT melon_grc.c
|
||||||
COMMAND glib-compile-resources --sourcedir="${CMAKE_SOURCE_DIR}"
|
COMMAND glib-compile-resources --sourcedir=${CMAKE_SOURCE_DIR}
|
||||||
--target="${CMAKE_CURRENT_BINARY_DIR}/melon_grc.c"
|
--target=${CMAKE_CURRENT_BINARY_DIR}/melon_grc.c
|
||||||
--generate-source "${CMAKE_SOURCE_DIR}/melon_grc.xml"
|
--generate-source "${CMAKE_SOURCE_DIR}/melon_grc.xml"
|
||||||
COMMAND glib-compile-resources --sourcedir="${CMAKE_SOURCE_DIR}"
|
COMMAND glib-compile-resources --sourcedir=${CMAKE_SOURCE_DIR}
|
||||||
--target="${CMAKE_CURRENT_BINARY_DIR}/melon_grc.h"
|
--target=${CMAKE_CURRENT_BINARY_DIR}/melon_grc.h
|
||||||
--generate-header "${CMAKE_SOURCE_DIR}/melon_grc.xml")
|
--generate-header "${CMAKE_SOURCE_DIR}/melon_grc.xml")
|
||||||
|
|
||||||
if (CMAKE_SYSTEM_NAME STREQUAL "Linux")
|
if (CMAKE_SYSTEM_NAME STREQUAL "Linux")
|
||||||
|
Reference in New Issue
Block a user