File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ FIND_PACKAGE ( FLEX )
29
29
IF (BISON_FOUND AND FLEX_FOUND )
30
30
SET (BisonOutput ${CMAKE_BINARY_DIR} /pbrtparse.cpp )
31
31
ADD_CUSTOM_COMMAND (
32
- OUTPUT ${BisonOutput} ${CMAKE_BINARY_DIR} /pbrtparse.hh
32
+ OUTPUT ${BisonOutput} ${CMAKE_BINARY_DIR} /pbrtparse.hh ${CMAKE_SOURCE_DIR} /src/core/pbrtparse.yy
33
33
COMMAND ${BISON_EXECUTABLE} -d -v -t
34
34
--output=${BisonOutput}
35
35
${CMAKE_SOURCE_DIR} /src/core/pbrtparse.yy
@@ -40,7 +40,7 @@ IF(BISON_FOUND AND FLEX_FOUND)
40
40
SET (FlexOutput ${CMAKE_BINARY_DIR} /pbrtlex.cpp )
41
41
ADD_CUSTOM_COMMAND (
42
42
OUTPUT ${FlexOutput}
43
- DEPENDS ${CMAKE_BINARY_DIR} /pbrtparse.hh
43
+ DEPENDS ${CMAKE_BINARY_DIR} /pbrtparse.hh ${CMAKE_SOURCE_DIR} /src/core/pbrtlex.ll
44
44
COMMAND ${FLEX_EXECUTABLE}
45
45
-o${FlexOutput}
46
46
${CMAKE_SOURCE_DIR} /src/core/pbrtlex.ll
You can’t perform that action at this time.
0 commit comments