commit c0ccedd0090e6019df2eae7b710bdc6d374bbb5c
Author: Scott Kostyshak <[email protected]>
Date: Mon Jun 30 16:37:09 2025 +0200
Fix missing includes [-Wmissing-include-dirs]
Fix the following GCC and Clang warnings with CMake build:
(note the '(' at the end of the path)
cc1plus: error: /home/scott/lyxbuilds/master-master/repo/src/tex2lyx/(: No
such file or directory [-Werror=missing-include-dirs]
cc1plus: error:
/home/scott/lyxbuilds/master-master/repo/src/tex2lyx/BEFORE: No such file or
directory [-Werror=missing-include-dirs]
cc1plus: error: /home/scott/lyxbuilds/master-master/repo/src/tex2lyx/): No
such file or directory [-Werror=missing-include-dirs]
---
src/tex2lyx/CMakeLists.txt | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/tex2lyx/CMakeLists.txt b/src/tex2lyx/CMakeLists.txt
index 49e70f1ab8..32010a4486 100644
--- a/src/tex2lyx/CMakeLists.txt
+++ b/src/tex2lyx/CMakeLists.txt
@@ -23,8 +23,8 @@ file(GLOB tex2lyx_sources
${TOP_SRC_DIR}/src/tex2lyx/${LYX_CPP_FILES})
file(GLOB tex2lyx_headers ${TOP_SRC_DIR}/src/tex2lyx/${LYX_HPP_FILES})
-include_directories((BEFORE
- ${TOP_SRC_DIR}/src/tex2lyx)
+include_directories(BEFORE
+ "${TOP_SRC_DIR}/src/tex2lyx"
${ZLIB_INCLUDE_DIR})
if(WIN32 AND NOT MINGW)
--
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs