mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-12-15 08:30:11 +08:00
CMake: Add missing dependency on ncgen.y/l
This commit is contained in:
parent
6d6f1a82a0
commit
630099b65f
@ -89,6 +89,7 @@ if (GENERATE_NCGEN)
|
||||
|
||||
ADD_CUSTOM_COMMAND(
|
||||
OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/ncgeny.h ${CMAKE_CURRENT_SOURCE_DIR}/ncgeny.c ${CMAKE_CURRENT_SOURCE_DIR}/ncgenl.c
|
||||
DEPENDS ncgen.y ncgen.l
|
||||
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}
|
||||
|
||||
COMMAND ${FLEX} -Pncg -8 ncgen/ncgen.l
|
||||
|
Loading…
Reference in New Issue
Block a user