diff options
author | dundargoc <gocdundar@gmail.com> | 2023-11-24 13:28:15 +0100 |
---|---|---|
committer | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2023-12-16 21:06:28 +0100 |
commit | 404fdb0f3683094c2d40e1ee7e41d5c491f41a06 (patch) | |
tree | 10902993f64a7e16d75217802d80eb8a091f0a49 /cmake.deps/cmake/BuildLuajit.cmake | |
parent | 8fb7419d7c5e2df3b792d18fa56f973088e69be2 (diff) | |
download | rneovim-404fdb0f3683094c2d40e1ee7e41d5c491f41a06.tar.gz rneovim-404fdb0f3683094c2d40e1ee7e41d5c491f41a06.tar.bz2 rneovim-404fdb0f3683094c2d40e1ee7e41d5c491f41a06.zip |
build: cmake fixes
- add EXTERNALPROJECT_OPTIONS variable to main build
- use `REQUIRED` keyword for IWYU.
- remove check_c_compiler_flag checks when `ENABLE_COMPILER_SUGGESTIONS`
is `ON`. If we explicitly enable it then we probably want it to give
an error if it doesn't exist, rather than silently skip it.
- Move dependency interface libraries to their find module and use them
as a pseudo-imported target.
- Remove BUSTED_OUTPUT_TYPE. It's not used and we can reintroduce it
again if something similar is needed.
- Use LINK_OPTIONS intead of LINK_FLAGS when generating the `--version`
output.
Diffstat (limited to 'cmake.deps/cmake/BuildLuajit.cmake')
-rw-r--r-- | cmake.deps/cmake/BuildLuajit.cmake | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/cmake.deps/cmake/BuildLuajit.cmake b/cmake.deps/cmake/BuildLuajit.cmake index 243d8a4140..81fa6446c4 100644 --- a/cmake.deps/cmake/BuildLuajit.cmake +++ b/cmake.deps/cmake/BuildLuajit.cmake @@ -7,10 +7,6 @@ function(BuildLuajit) "TARGET" "CONFIGURE_COMMAND;BUILD_COMMAND;INSTALL_COMMAND;DEPENDS" ${ARGN}) - if(NOT _luajit_CONFIGURE_COMMAND AND NOT _luajit_BUILD_COMMAND - AND NOT _luajit_INSTALL_COMMAND) - message(FATAL_ERROR "Must pass at least one of CONFIGURE_COMMAND, BUILD_COMMAND, INSTALL_COMMAND") - endif() if(NOT _luajit_TARGET) set(_luajit_TARGET "luajit") endif() |