We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 657407f commit dd707aeCopy full SHA for dd707ae
CMakeLists.txt
@@ -2092,9 +2092,9 @@ if("${YACC_NAME}" STREQUAL "bison" OR "${YACC_NAME}" STREQUAL "win_bison")
2092
endif()
2093
add_custom_command(
2094
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/grammar.c ${CMAKE_CURRENT_BINARY_DIR}/grammar.h
2095
- SOURCE ${pcap_SOURCE_DIR}/grammar.y
2096
- COMMAND ${YACC_EXECUTABLE} ${YACC_COMPATIBILITY_FLAG} -p pcap_ -o ${CMAKE_CURRENT_BINARY_DIR}/grammar.c -d ${pcap_SOURCE_DIR}/grammar.y
2097
- DEPENDS ${pcap_SOURCE_DIR}/grammar.y
+ SOURCE ${pcap_BINARY_DIR}/grammar.y
+ COMMAND ${YACC_EXECUTABLE} ${YACC_COMPATIBILITY_FLAG} -p pcap_ -o ${CMAKE_CURRENT_BINARY_DIR}/grammar.c -d ${pcap_BINARY_DIR}/grammar.y
+ DEPENDS ${pcap_BINARY_DIR}/grammar.y
2098
)
2099
2100
#
0 commit comments