Module: kamailio
Branch: master
Commit: 0694eb74d91aaf8584f23ee934a36f2dc16a0fdf
URL:
https://github.com/kamailio/kamailio/commit/0694eb74d91aaf8584f23ee934a36f2…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2024-12-18T11:26:31+01:00
Revert "src/CMakeLists.txt: remove explicit sources lex.yy.c and cfg.tab.c"
This reverts commit da629accb2c2095e3255f4aa3389a0af02272980.
---
Modified: src/CMakeLists.txt
---
Diff:
https://github.com/kamailio/kamailio/commit/0694eb74d91aaf8584f23ee934a36f2…
Patch:
https://github.com/kamailio/kamailio/commit/0694eb74d91aaf8584f23ee934a36f2…
---
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index b08d6e3603d..2b02f33098f 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -104,7 +104,8 @@ add_subdirectory(modules)
# Module subdiretory does not contribute to the Kamailio executable.
target_sources(
kamailio
- PRIVATE ${kamailio_SRC_FILES}
+ PRIVATE ${kamailio_SRC_FILES} ${CMAKE_CURRENT_BINARY_DIR}/core/lex.yy.c
+ ${CMAKE_CURRENT_BINARY_DIR}/core/cfg.tab.c
)
target_include_directories(kamailio PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/core)