src/CMakeLists.txt: fix TERMIT_CFLAGS#131
Conversation
`LUA_INCLUDE_DIR` is incorrect, the correct one is `LUA_INCLUDEDIR`.
Thus, "-I${LUA_INCLUDE_DIR}" will become "-I", suppressing the following
argument. However, it can be simply dropped as d9731f1 has already
included `LUA_CFLAGS` in `TERMIT_CFLAGS`.
|
Thanks a lot |
|
Sorry for disturbing you, @nonstop. Why was the PR closed? Did I make any mistakes? Lines 28 to 41 in 41978d9 The method used to find Lua is
The reason why I simply dropped the whole flag is that Line 49 in 41978d9 And what's more, according to my analysis here, due to the "coincidence" on Debian, |
|
I thought I merged your pull request. |
|
Oh, yeah! |
LUA_INCLUDE_DIRis incorrect, the correct one isLUA_INCLUDEDIR. Thus, "-I${LUA_INCLUDE_DIR}" will become "-I", suppressing the following argument. However, it can be simply dropped as d9731f1 has already includedLUA_CFLAGSinTERMIT_CFLAGS.Close #125
Built successfully on Arch Linux (mips64r6el, QEMU user) (previously failed): https://oss.cipunited.com/ci/job/ciBuilds/job/termit/42/execution/node/57/log/
Also built successfully on Arch Linux and Debian sid (both x86_64) in my local tests.
Detailed analysis here: #125 (comment)