Skip to content

Commit 6fd22a1

Browse files
committed
Make expparse explicitly depend on scanner header
Without this dependency, we get intermittent failures where parallel builds attempt the expparse.c compile before the necessary header is in place.
1 parent 627c093 commit 6fd22a1

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/express/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ if(SC_GENERATE_LP_SOURCES)
1818

1919
add_library(objlib_expparse_c OBJECT ${LEMON_ExpParser_OUTPUTS})
2020
set_property(TARGET objlib_expparse_c PROPERTY POSITION_INDEPENDENT_CODE ON)
21+
set_source_files_properties(${LEMON_ExpParser_OUTPUTS} PROPERTIES OBJECT_DEPENDS "${PERPLEX_ExpScanner_HDR}")
2122

2223
else(SC_GENERATE_LP_SOURCES)
2324
add_subdirectory(generated)

0 commit comments

Comments
 (0)