Throw some quotes around strings in CMakeLists.txt ...
authorRyan C. Gordon <icculus@icculus.org>
Sat, 28 Feb 2009 04:29:40 -0500
changeset 705 7ea12a852213
parent 704 292ea2611014
child 706 01a92f30b84f
Throw some quotes around strings in CMakeLists.txt ...
CMakeLists.txt
--- a/CMakeLists.txt	Fri Feb 27 00:32:37 2009 -0500
+++ b/CMakeLists.txt	Sat Feb 28 04:29:40 2009 -0500
@@ -64,10 +64,10 @@
 ELSE(NOT RE2C)
     MARK_AS_ADVANCED(RE2C)
     ADD_CUSTOM_COMMAND(
-        OUTPUT mojoshader_lexer.c
+        OUTPUT "${CMAKE_CURRENT_SOURCE_DIR}/mojoshader_lexer.c"
         DEPENDS mojoshader_lexer.re
-        COMMAND ${RE2C}
-        ARGS -is --no-generation-date -o ${CMAKE_CURRENT_SOURCE_DIR}/mojoshader_lexer.c ${CMAKE_CURRENT_SOURCE_DIR}/mojoshader_lexer.re
+        COMMAND "${RE2C}"
+        ARGS -is --no-generation-date -o "${CMAKE_CURRENT_SOURCE_DIR}/mojoshader_lexer.c" "${CMAKE_CURRENT_SOURCE_DIR}/mojoshader_lexer.re"
     )
 ENDIF(NOT RE2C)