Skip to content

Commit f12c409

Browse files
rpavlikwwmayer
authored andcommitted
Quote paths used in FindPySideTools.cmake
1 parent 32c4017 commit f12c409

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

cMake/FindPySideTools.cmake

+5-5
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ MACRO(PYSIDE_WRAP_UI outfiles)
4141
# pyside-uic generates in comments at beginning, which is why
4242
# we follow the tool command with in-place sed.
4343
ADD_CUSTOM_COMMAND(OUTPUT ${outfile}
44-
COMMAND ${PYSIDEUIC4BINARY} "${infile}" -o "${outfile}"
44+
COMMAND "${PYSIDEUIC4BINARY}" "${infile}" -o "${outfile}"
4545
COMMAND sed -i "/^# /d" "${outfile}"
46-
MAIN_DEPENDENCY ${infile}
46+
MAIN_DEPENDENCY "${infile}"
4747
)
4848
endif(WIN32)
4949
list(APPEND ${outfiles} ${outfile})
@@ -72,10 +72,10 @@ MACRO(PYSIDE_WRAP_RC outfiles)
7272
# Especially on Open Build Service we don't want changing date like
7373
# pyside-rcc generates in comments at beginning, which is why
7474
# we follow the tool command with in-place sed.
75-
ADD_CUSTOM_COMMAND(OUTPUT ${outfile}
76-
COMMAND ${PYSIDERCC4BINARY} "${infile}" ${PY_ATTRIBUTE} -o "${outfile}"
75+
ADD_CUSTOM_COMMAND(OUTPUT "${outfile}"
76+
COMMAND "${PYSIDERCC4BINARY}" "${infile}" ${PY_ATTRIBUTE} -o "${outfile}"
7777
COMMAND sed -i "/^# /d" "${outfile}"
78-
MAIN_DEPENDENCY ${infile}
78+
MAIN_DEPENDENCY "${infile}"
7979
)
8080
endif(WIN32)
8181
list(APPEND ${outfiles} ${outfile})

0 commit comments

Comments
 (0)