Module: kamailio Branch: master Commit: da629accb2c2095e3255f4aa3389a0af02272980 URL: https://github.com/kamailio/kamailio/commit/da629accb2c2095e3255f4aa3389a0af...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: 2024-12-18T08:48:02+01:00
src/CMakeLists.txt: remove explicit sources lex.yy.c and cfg.tab.c
- they should be included by the GLOB of source files - warnings shown before: Warning: Source file ".../src/core/lex.yy.c" is listed multiple times for target "kamailio". Warning: Source file ".../src/core/cfg.tab.c" is listed multiple times for target "kamailio"
---
Modified: src/CMakeLists.txt
---
Diff: https://github.com/kamailio/kamailio/commit/da629accb2c2095e3255f4aa3389a0af... Patch: https://github.com/kamailio/kamailio/commit/da629accb2c2095e3255f4aa3389a0af...
---
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 2b02f33098f..b08d6e3603d 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -104,8 +104,7 @@ add_subdirectory(modules) # Module subdiretory does not contribute to the Kamailio executable. target_sources( kamailio - PRIVATE ${kamailio_SRC_FILES} ${CMAKE_CURRENT_BINARY_DIR}/core/lex.yy.c - ${CMAKE_CURRENT_BINARY_DIR}/core/cfg.tab.c + PRIVATE ${kamailio_SRC_FILES} ) target_include_directories(kamailio PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/core)