aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2023-10-18 16:41:26 -0400
committerdundargoc <33953936+dundargoc@users.noreply.github.com>2023-10-18 23:47:20 +0200
commita8fc94a2fdd07edf0679d34f2deaacb25b3fa69f (patch)
tree756e70a32de014c35f9c79952bfa666f1a1e1280
parentc49cfd89fdd32d670c484b0b677bc8647e891a12 (diff)
downloadrneovim-a8fc94a2fdd07edf0679d34f2deaacb25b3fa69f.tar.gz
rneovim-a8fc94a2fdd07edf0679d34f2deaacb25b3fa69f.tar.bz2
rneovim-a8fc94a2fdd07edf0679d34f2deaacb25b3fa69f.zip
build(deps): include Find module
Now that all the Find<Foo>.cmake modules are using our custom find_path2, the bundled deps build needs to include the Find module so it has access to find_path2. The missing include was causing the PPA build to fail: ``` cd .deps && \ cmake -G 'Unix Makefiles' \ -DUSE_EXISTING_SRC_DIR=ON -DUSE_BUNDLED_LUAROCKS=OFF -DUSE_BUNDLED_LUAJIT=OFF -DUSE_BUNDLED_GPERF=OFF -DUSE_BUNDLED_LUA=OFF /<<PKGBUILDDIR>>//cmake.deps -- The C compiler identification is GNU 7.5.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Found GNU Make at /usr/bin/make -- CMAKE_BUILD_TYPE not specified, default is 'Debug' -- Performing Test HAS_OG_FLAG -- Performing Test HAS_OG_FLAG - Success -- Found Git: /usr/bin/git (found version "2.17.1") CMake Error at /<<PKGBUILDDIR>>/cmake/FindLuajit.cmake:1 (find_path2): Unknown CMake command "find_path2". Call Stack (most recent call first): cmake/BuildLuv.cmake:13 (find_package) CMakeLists.txt:127 (include) -- Configuring incomplete, errors occurred! ```
-rw-r--r--cmake.deps/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake.deps/CMakeLists.txt b/cmake.deps/CMakeLists.txt
index f76957d37d..c5fa3c3e7b 100644
--- a/cmake.deps/CMakeLists.txt
+++ b/cmake.deps/CMakeLists.txt
@@ -14,6 +14,7 @@ include(CheckCCompilerFlag)
include(Deps)
include(Util)
+include(Find)
set_default_buildtype()
get_property(isMultiConfig GLOBAL PROPERTY GENERATOR_IS_MULTI_CONFIG)